Skip to content

Onyx Bump 2.0.48: null -> undefined changes #121

Onyx Bump 2.0.48: null -> undefined changes

Onyx Bump 2.0.48: null -> undefined changes #121

Triggered via pull request June 6, 2024 15:21
Status Failure
Total duration 3m 17s
Artifacts

typecheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
typecheck: src/components/MoneyReportHeader.tsx#L82
Argument of type '({ amount: number; taxAmount?: number | undefined; taxCode?: string | undefined; billable?: boolean | undefined; category?: string | undefined; comment: Comment; created: string; ... 35 more ...; linkedTrackedExpenseReportID?: string | undefined; } & OfflineFeedback<...>) | null' is not assignable to parameter of type 'OnyxEntry<{ amount: number; taxAmount?: number | undefined; taxCode?: string | undefined; billable?: boolean | undefined; category?: string | undefined; comment: Comment; created: string; ... 35 more ...; linkedTrackedExpenseReportID?: string | undefined; } & OfflineFeedback<...>>'.
typecheck: src/libs/IOUUtils.ts#L71
Property 'currency' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L79
Property 'total' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L79
Property 'total' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L81
Property 'ownerAccountID' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L82
Property 'total' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L84
Property 'total' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L87
Property 'total' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L89
Property 'ownerAccountID' does not exist on type 'NonNullable<TReport>'.
typecheck: src/libs/IOUUtils.ts#L89
Property 'managerID' does not exist on type 'NonNullable<TReport>'.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.