Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
b4s36t4 committed Dec 11, 2023
1 parent 7911882 commit b4fed07
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/SCREENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -240,5 +240,5 @@ const SCREENS = {
type Screen = DeepValueOf<typeof SCREENS>;

export default SCREENS;
export { PROTECTED_SCREENS };
export type { Screen };
export {PROTECTED_SCREENS};
export type {Screen};
14 changes: 7 additions & 7 deletions src/libs/Navigation/types.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -9,9 +9,9 @@ type NavigationRef = NavigationContainerRefWithCurrent<RootStackParamList>;

type NavigationRoot = NavigationHelpers<RootStackParamList>;

type GoBackAction = Extract<CommonActions.Action, { type: 'GO_BACK' }>;
type ResetAction = Extract<CommonActions.Action, { type: 'RESET' }>;
type SetParamsAction = Extract<CommonActions.Action, { type: 'SET_PARAMS' }>;
type GoBackAction = Extract<CommonActions.Action, {type: 'GO_BACK'}>;
type ResetAction = Extract<CommonActions.Action, {type: 'RESET'}>;
type SetParamsAction = Extract<CommonActions.Action, {type: 'SET_PARAMS'}>;

type ActionNavigate = {
type: ValueOf<typeof CONST.NAVIGATION.ACTION_TYPE>;
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit b4fed07

Please sign in to comment.