feat: Affichage des cartes de cantine #1543
checks.yml
on: pull_request
Typescript build & ESlint scanning
31s
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
|