Skip to content

feat: Affichage des cartes de cantine #1543

feat: Affichage des cartes de cantine

feat: Affichage des cartes de cantine #1543

Triggered via pull request February 10, 2025 20:50
Status Failure
Total duration 40s
Artifacts

checks.yml

on: pull_request
Typescript build & ESlint scanning
31s
Typescript build & ESlint scanning
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/CardDetail.tsx#L50
Object literal may only specify known properties, and 'balance' does not exist in type '(prevState: null) => null'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/PaymentSuccess.tsx#L20
Argument of type 'Account | null' is not assignable to parameter of type 'ExternalAccount'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/PaymentSuccess.tsx#L21
Argument of type 'ReservationHistory' is not assignable to parameter of type 'SetStateAction<PaymentItem | null>'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/PaymentSuccess.tsx#L91
Property 'timestamp' does not exist on type 'PaymentItem'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/PaymentSuccess.tsx#L96
This comparison appears to be unintentional because the types 'number' and 'PaymentCurrencyAmount' have no overlap.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/QrCode.tsx#L20
Argument of type 'Account | null' is not assignable to parameter of type 'ExternalAccount'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/QrCode.tsx#L54
Argument of type 'Account | null' is not assignable to parameter of type 'ExternalAccount'.
Typescript build & ESlint scanning: src/views/account/Restaurant/Modals/QrCode.tsx#L55
Argument of type 'string | Blob | null' is not assignable to parameter of type 'SetStateAction<string | null>'.
Typescript build & ESlint scanning
Process completed with exit code 2.
Typescript build & ESlint scanning
Input 'version' has been deprecated with message: The version property will not be supported after October 1, 2019. Use node-version instead