feat: add console logs #77
Annotations
13 errors and 1 warning
Find deadcode
Process completed with exit code 1.
|
Format check
Process completed with exit code 1.
|
Type check:
src/app/api/data/[facultyId]/route.ts#L42
Type '(_request: Request, { params }: { params: { facultyId: string; }; }) => Promise<Response>' does not satisfy the constraint '(...args: unknown[]) => NextResponse<unknown> | Promise<NextResponse<unknown>>'.
|
Type check:
src/app/api/registrations/route.tsx#L54
Type '{ startTime: string; endTime: string; group: string; day: string; courseName: string; lecturer: string; week: "TN"; courseType: "L"; registrationName: string; }' does not satisfy the expected type 'ClassBlockProps'.
|
Type check:
src/app/api/registrations/route.tsx#L66
Type '{ startTime: string; endTime: string; day: string; group: string; courseName: string; lecturer: string; week: ""; courseType: "W"; registrationName: string; }' does not satisfy the expected type 'ClassBlockProps'.
|
Type check:
src/components/SelectGroups.tsx#L56
Property 'registration' does not exist on type 'Registration'.
|
Type check:
src/components/SelectGroups.tsx#L58
Property 'groups' does not exist on type 'Registration'.
|
Type check:
src/components/SelectGroups.tsx#L70
Argument of type 'ClassBlockProps[]' is not assignable to parameter of type 'string'.
|
Type check:
src/pages/createplan/[id].tsx#L90
Type 'string | undefined' is not assignable to type 'string'.
|
Type check:
src/pages/createplan/[id].tsx#L185
'window.umami' is possibly 'undefined'.
|
Type check:
src/pages/createplan/[id].tsx#L193
'window.umami' is possibly 'undefined'.
|
Type check:
src/pages/createplan/[id].tsx#L205
'window.umami' is possibly 'undefined'.
|
Lint
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading