fix(eslint): resolve multiple eslint errors #500
Annotations
10 errors
Run typecheck:
components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue#L172
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ MORNING: string; ONE: string; TWO: string; THREE: string; FOUR: string; NOON: string; FIVE: string; SIX: string; SEVEN: string; EIGHT: string; NINE: string; AFTERCLASS: string; }'.
|
Run typecheck:
components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue#L221
Type 'number' is not assignable to type 'string'.
|
Run typecheck:
components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue#L229
Type 'number' is not assignable to type 'string'.
|
Run typecheck:
components/custom/CAS/ClassroomReservation/NewClassroomReservation.vue#L237
Type 'number' is not assignable to type 'string'.
|
Run typecheck:
components/custom/CAS/Record/NewActivityRecord.vue#L46
Excessive stack depth comparing types 'Exclude<R extends "/api/bind/confirm" ? { key: "/api/bind/confirm"; exact: true; score: []; catchAll: false; } : { key: "/api/bind/confirm"; exact: false; score: `${R}/` extends `${infer RouteSeg}/${infer RouteRest}` ? `${RouteSeg}?` extends `${infer RouteSegWithoutQuery}?${string}` ? RouteSegWithoutQuery extends ""...' and '{ score: MaxTuple<((R extends "/api/bind/confirm" ? { key: "/api/bind/confirm"; exact: true; score: []; catchAll: false; } : { key: "/api/bind/confirm"; exact: false; score: `${R}/` extends `${infer RouteSeg}/${infer RouteRest}` ? `${RouteSeg}?` extends `${infer RouteSegWithoutQuery}?${string}` ? RouteSegWithoutQuer...'.
|
Run typecheck:
components/custom/CAS/Record/NewActivityRecord.vue#L46
Excessive stack depth comparing types 'Exclude<{ key: "/__nuxt_error"; exact: false; score: `${R}/` extends `${infer RouteSeg}/${infer RouteRest}` ? `${RouteSeg}?` extends `${infer RouteSegWithoutQuery}?${string}` ? RouteSegWithoutQuery extends "" ? `${RouteRest}/` extends `${infer RouteSeg}/${infer RouteRest}` ? `${RouteSeg}?` extends `${infer RouteSegW...' and '{ score: MaxTuple<((R extends "/api/bind/confirm" ? { key: "/api/bind/confirm"; exact: true; score: []; catchAll: false; } : { key: "/api/bind/confirm"; exact: false; score: `${R}/` extends `${infer RouteSeg}/${infer RouteRest}` ? `${RouteSeg}?` extends `${infer RouteSegWithoutQuery}?${string}` ? RouteSegWithoutQuer...'.
|
Run typecheck:
components/custom/Nav/icon/Icon.vue#L2
Cannot find module '@/assets/logo.svg' or its corresponding type declarations.
|
Run typecheck:
layouts/sign-in-or-out.vue#L2
Cannot find module '@/assets/logo.svg' or its corresponding type declarations.
|
Run typecheck:
pages/forms/[id].vue#L45
'__VLS_ctx.clerk.user' is possibly 'null' or 'undefined'.
|
Run typecheck:
pages/manage/manage.vue#L141
Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ SUNDAY: string; MONDAY: string; TUESDAY: string; WEDNESDAY: string; THURSDAY: string; FRIDAY: string; SATURDAY: string; }'.
|
Loading