Poc/split merge native stacks #751
Annotations
10 errors
Type check with TypeScript:
src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx#L51
Type '{ children: Element[]; sidebarScreen: "Home"; defaultCentralScreen: "Report"; parentRoute: RouteProp<ParamListBase>; screenOptions: { headerShown: false; ... 23 more ...; native?: NativeStackNavigationOptions | undefined; }; }' is not assignable to type 'IntrinsicAttributes & Omit<DefaultRouterOptions<string> & { id?: string | undefined; children: ReactNode; screenListeners?: ScreenListenersOrCallback<...> | undefined; screenOptions?: ScreenOptionsOrCallback<...> | undefined; } & StackRouterOptions & StackNavigationConfig, "children" | ... 3 more ... | "screenListen...'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/Navigators/SettingsSplitNavigator.tsx#L39
Type '{ children: (Element | Element[])[]; sidebarScreen: "Settings_Root"; defaultCentralScreen: "Settings_Profile"; parentRoute: RouteProp<ParamListBase>; screenOptions: { ...; }; }' is not assignable to type 'IntrinsicAttributes & Omit<DefaultRouterOptions<string> & { id?: string | undefined; children: ReactNode; screenListeners?: ScreenListenersOrCallback<...> | undefined; screenOptions?: ScreenOptionsOrCallback<...> | undefined; } & StackRouterOptions & StackNavigationConfig, "children" | ... 3 more ... | "screenListen...'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/Navigators/WorkspaceSplitNavigator.tsx#L41
Type '{ children: (Element | Element[])[]; sidebarScreen: "Workspace_Initial"; defaultCentralScreen: "Workspace_Profile"; parentRoute: RouteProp<ParamListBase>; screenOptions: { ...; }; }' is not assignable to type 'IntrinsicAttributes & Omit<DefaultRouterOptions<string> & { id?: string | undefined; children: ReactNode; screenListeners?: ScreenListenersOrCallback<...> | undefined; screenOptions?: ScreenOptionsOrCallback<...> | undefined; } & StackRouterOptions & StackNavigationConfig, "children" | ... 3 more ... | "screenListen...'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createResponsiveStackNavigator/index.tsx#L20
Type 'ComponentType<{}>' is not assignable to type 'PlatformStackRouterFactory<ParamListBase, {}> | undefined'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L17
Parameter 'route' implicitly has an 'any' type.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L18
Expected 0 arguments, but got 1.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L19
Argument of type 'Readonly<{ key: string; index: number; routeNames: string[]; history?: unknown[] | undefined; routes: NavigationRoute<ParamListBase, string>[]; type: string; stale: false; }>' is not assignable to parameter of type 'StackNavigationState<ParamListBase>'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L39
Type '(props: CustomEffectsHookProps, route: any) => void' is not assignable to type 'CustomEffectsHook<ParamListBase>'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L41
Type '({ state }: CustomStateHookProps) => PlatformStackNavigationState<ParamListBase> | { stateToRender: { routes: NavigationRoute<...>[]; ... 5 more ...; stale: false; }; }' is not assignable to type 'CustomStateHook<ParamListBase>'.
|
Type check with TypeScript:
src/libs/Navigation/AppNavigator/useRootNavigatorOptions.ts#L124
Object literal may only specify known properties, and 'searchPage' does not exist in type 'RootNavigatorOptions'.
|
Loading