diff --git a/src/SCREENS.ts b/src/SCREENS.ts index 98194d5ad579..616df26a58b3 100644 --- a/src/SCREENS.ts +++ b/src/SCREENS.ts @@ -195,7 +195,7 @@ const SCREENS = { INVITE: 'Workspace_Invite', INVITE_MESSAGE: 'Workspace_Invite_Message', CURRENCY: 'Workspace_Settings_Currency', - NAME: "Workspace_Settings_Name" + NAME: 'Workspace_Settings_Name', }, EDIT_REQUEST: { @@ -240,5 +240,5 @@ const SCREENS = { type Screen = DeepValueOf; export default SCREENS; -export { PROTECTED_SCREENS }; -export type { Screen }; +export {PROTECTED_SCREENS}; +export type {Screen}; diff --git a/src/libs/Navigation/types.ts b/src/libs/Navigation/types.ts index ee9fe8736389..2a035978e92d 100644 --- a/src/libs/Navigation/types.ts +++ b/src/libs/Navigation/types.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ -import { CommonActions, NavigationContainerRefWithCurrent, NavigationHelpers, NavigationState, NavigatorScreenParams, PartialRoute, Route } from '@react-navigation/native'; -import { ValueOf } from 'type-fest'; +import {CommonActions, NavigationContainerRefWithCurrent, NavigationHelpers, NavigationState, NavigatorScreenParams, PartialRoute, Route} from '@react-navigation/native'; +import {ValueOf} from 'type-fest'; import CONST from '@src/CONST'; import NAVIGATORS from '@src/NAVIGATORS'; import SCREENS from '@src/SCREENS'; @@ -9,9 +9,9 @@ type NavigationRef = NavigationContainerRefWithCurrent; type NavigationRoot = NavigationHelpers; -type GoBackAction = Extract; -type ResetAction = Extract; -type SetParamsAction = Extract; +type GoBackAction = Extract; +type ResetAction = Extract; +type SetParamsAction = Extract; type ActionNavigate = { type: ValueOf; @@ -161,11 +161,11 @@ type ReportSettingsNavigatorParamList = { }; type ReportWelcomeMessageNavigatorParamList = { - [SCREENS.REPORT_WELCOME_MESSAGE_ROOT]: { reportID: string }; + [SCREENS.REPORT_WELCOME_MESSAGE_ROOT]: {reportID: string}; }; type ParticipantsNavigatorParamList = { - [SCREENS.REPORT_PARTICIPANTS_ROOT]: { reportID: string }; + [SCREENS.REPORT_PARTICIPANTS_ROOT]: {reportID: string}; }; type RoomMembersNavigatorParamList = {