Skip to content

Poc/split navs

Poc/split navs #626

Triggered via pull request October 8, 2024 07:04
Status Failure
Total duration 2m 22s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
typecheck: src/libs/Navigation/AppNavigator/createCustomFullScreenNavigator/index.tsx#L8
Cannot find module './CustomFullScreenRouter' or its corresponding type declarations.
typecheck: src/libs/Navigation/AppNavigator/createCustomFullScreenNavigator/index.tsx#L9
Cannot find module './types' or its corresponding type declarations.
typecheck: src/libs/Navigation/AppNavigator/createSplitStackNavigator/index.tsx#L27
Type '(NavigationRoute<ParamListBase, string> | undefined)[]' is not assignable to type 'NavigationRoute<ParamListBase, string>[]'.
typecheck: src/libs/Navigation/AppNavigator/getPartialStateDiff.ts#L4
Module '"@libs/Navigation/linkingConfig/getAdaptedStateFromPath"' has no exported member 'Metainfo'. Did you mean to use 'import Metainfo from "@libs/Navigation/linkingConfig/getAdaptedStateFromPath"' instead?
typecheck: src/libs/Navigation/AppNavigator/getPartialStateDiff.ts#L6
Module '"/home/runner/work/expensify-app-fork/expensify-app-fork/src/libs/ObjectUtils"' has no default export. Did you mean to use 'import { shallowCompare } from "/home/runner/work/expensify-app-fork/expensify-app-fork/src/libs/ObjectUtils"' instead?
typecheck: src/libs/Navigation/Navigation.ts#L188
Expected 2-3 arguments, but got 4.
typecheck: src/libs/Navigation/linkingConfig/RELATIONS/TAB_TO_CENTRAL_PANE_MAPPING.ts#L19
Property 'REIMBURSE' does not exist on type '{ readonly ACCOUNTING: { readonly ROOT: "Policy_Accounting"; readonly QUICKBOOKS_ONLINE_IMPORT: "Policy_Accounting_Quickbooks_Online_Import"; readonly QUICKBOOKS_ONLINE_CHART_OF_ACCOUNTS: "Policy_Accounting_Quickbooks_Online_Import_Chart_Of_Accounts"; ... 89 more ...; readonly RECONCILIATION_ACCOUNT_SETTINGS: "Polic...'.
typecheck: src/libs/Navigation/linkingConfig/RELATIONS/index.ts#L23
Argument of type 'Partial<Record<keyof WorkspaceSplitNavigatorParamList, string[]>>' is not assignable to parameter of type 'Record<keyof WorkspaceSplitNavigatorParamList, string[]>'.
typecheck: src/libs/Navigation/linkingConfig/customGetPathFromState.ts#L15
Property 'policyID' does not exist on type 'object | Readonly<{ screen?: undefined; params?: undefined; initial?: undefined; path?: string | undefined; state: Readonly<{ key: string; index: number; routeNames: string[]; history?: unknown[] | undefined; routes: NavigationRoute<...>[]; type: string; stale: false; }> | PartialState<...> | undefined; }> | ... 95 ...'.
typecheck: src/libs/Navigation/linkingConfig/getMatchingBottomTabRouteForState.ts#L23
Element implicitly has an 'any' type because expression of type 'keyof CentralPaneScreensParamList' can't be used to index type 'Record<keyof ReportsSplitNavigatorParamList | keyof SettingsSplitNavigatorParamList | keyof WorkspaceSplitNavigatorParamList, keyof ReportsSplitNavigatorParamList | ... 1 more ... | keyof WorkspaceSplitNavigatorParamList>'.