From b4fed077b144b61940ec695a089ba136fde8a4cd Mon Sep 17 00:00:00 2001 From: Mahesh Vagicherla Date: Mon, 11 Dec 2023 21:11:36 +0530 Subject: [PATCH] fix lint --- src/SCREENS.ts | 6 +++--- src/libs/Navigation/types.ts | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) 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 = {