fix: codegen1 #6319
Annotations
5 errors and 1 warning
Run check code:
app/screens/receive-bitcoin-screen/payment/payment-request.ts#L108
Type '{ expiresAt: Date | undefined; getCopyableInvoiceFn: GetCopyableInvoiceFn; getFullUriFn: GetFullUriFn; __typename: "LnNoAmountInvoice"; ... 4 more ...; invoiceType: "Lightning"; } | undefined' is not assignable to type 'InvoiceData | undefined'.
|
Run check code:
app/screens/receive-bitcoin-screen/payment/payment-request.ts#L154
Type '{ expiresAt: Date | undefined; getCopyableInvoiceFn: GetCopyableInvoiceFn; getFullUriFn: GetFullUriFn; __typename: "LnInvoice"; createdAt: number; ... 4 more ...; invoiceType: "Lightning"; } | undefined' is not assignable to type 'InvoiceData | undefined'.
|
Run check code:
app/screens/receive-bitcoin-screen/payment/payment-request.ts#L199
Type '{ expiresAt: Date | undefined; getCopyableInvoiceFn: GetCopyableInvoiceFn; getFullUriFn: GetFullUriFn; __typename: "LnInvoice"; createdAt: number; ... 4 more ...; invoiceType: "Lightning"; } | undefined' is not assignable to type 'InvoiceData | undefined'.
|
Run check code:
app/screens/redeem-lnurl-withdrawal-screen/redeem-bitcoin-result-screen.tsx#L106
Argument of type '{ readonly __typename: "LnInvoice"; readonly createdAt: number; readonly paymentHash: string; readonly paymentRequest: string; readonly paymentStatus: InvoicePaymentStatus; readonly satoshis: number; }' is not assignable to parameter of type 'SetStateAction<LnInvoiceNoSecret | null>'.
|
Run check code
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading