Skip to content

[TS migration] Migrate 'withReportAndPrivateNotesOrNotFound.js' HOC to TypeScript #20752

[TS migration] Migrate 'withReportAndPrivateNotesOrNotFound.js' HOC to TypeScript

[TS migration] Migrate 'withReportAndPrivateNotesOrNotFound.js' HOC to TypeScript #20752

Status Failure
Total duration 1m 8s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
typecheck: src/pages/PrivateNotes/PrivateNotesEditPage.tsx#L172
Argument of type 'ComponentType<Omit<PrivateNotesEditPageProps, "personalDetailsList">>' is not assignable to parameter of type 'ComponentType<WithReportAndPrivateNotesOrNotFoundOnyxProps & WithReportOrNotFoundOnyxProps & { route: RouteProp<...>; } & RefAttributes<...>>'.
typecheck: src/pages/PrivateNotes/PrivateNotesListPage.tsx#L100
Argument of type 'ComponentType<Omit<PrivateNotesListPageProps, keyof PrivateNotesListPageOnyxProps>>' is not assignable to parameter of type 'ComponentType<WithReportAndPrivateNotesOrNotFoundOnyxProps & WithReportOrNotFoundOnyxProps & { route: RouteProp<...>; } & RefAttributes<...>>'.
typecheck
Process completed with exit code 2.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.