Portal frontend 31 #254
main.yml
on: pull_request
main
/
...
/
validate-pr-refs
0s
main
/
...
/
test-js-code
58s
main
/
deploy
0s
Annotations
10 errors
main / test / test-js-code:
src/api/index.ts#L2
Cannot find module 'codeforlife/utils/auth' or its corresponding type declarations.
|
main / test / test-js-code:
src/pages/register/IndyForm.tsx#L43
Object literal may only specify known properties, and 'exclude' does not exist in type '{ then?: ((result: CreateIndependentUserResult) => void) | undefined; catch?: ((error: Error) => void) | undefined; finally?: (() => void) | undefined; }'.
|
main / test / test-js-code:
src/pages/register/TeacherForm.tsx#L40
Object literal may only specify known properties, and 'exclude' does not exist in type '{ then?: ((result: CreateTeacherResult) => void) | undefined; catch?: ((error: Error) => void) | undefined; finally?: (() => void) | undefined; }'.
|
main / test / test-js-code:
src/pages/resetPassword/PasswordForm.tsx#L54
Object literal may only specify known properties, and 'exclude' does not exist in type '{ then?: ((result: ResetPasswordResult) => void) | undefined; catch?: ((error: Error) => void) | undefined; finally?: (() => void) | undefined; }'.
|
main / test / test-js-code:
src/pages/studentAccount/DeleteAccountForm.tsx#L11
Cannot find module 'codeforlife/utils/auth' or its corresponding type declarations.
|
main / test / test-js-code:
src/pages/studentAccount/StudentAccount.tsx#L19
Property 'subheader' is missing in type '{ header: string; textAlign: "center"; bgcolor: "secondary" | "tertiary"; }' but required in type 'BannerProps'.
|
main / test / test-js-code:
src/pages/studentAccount/UpdateAccountForm.tsx#L3
Module '"codeforlife/utils/form"' has no exported member 'getDirty'.
|
main / test / test-js-code:
src/pages/studentAccount/UpdateAccountForm.tsx#L3
Module '"codeforlife/utils/form"' has no exported member 'isDirty'.
|
main / test / test-js-code:
src/pages/studentAccount/UpdateAccountForm.tsx#L74
Parameter 'values' implicitly has an 'any' type.
|
main / test / test-js-code:
src/pages/studentAccount/UpdateAccountForm.tsx#L90
Type '(_: any, values: any) => void' is not assignable to type '(result: UpdateUserResult) => void'.
|