fix: remaining linting fixes #981
Annotations
3 errors and 10 warnings
lint
Type '({ userId }: ClerkMiddlewareAuthObject) => void' is not assignable to type '(user: { userId: string; email: string; isDemoUser?: boolean | undefined; }) => void'.
|
lint
@oakai/nextjs#type-check: command (/home/runner/work/oak-ai-lesson-assistant/oak-ai-lesson-assistant/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run type-check exited (2)
|
lint
Process completed with exit code 2.
|
lint:
packages/api/src/context.ts#L31
Async arrow function 'createContextInner' has no 'await' expression
|
lint:
packages/api/src/context.ts#L34
Unsafe assignment of an error typed value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L46
Unsafe assignment of an `any` value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L57
Unsafe assignment of an `any` value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L60
Unsafe assignment of an error typed value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L61
Unsafe assignment of an error typed value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L62
Unsafe assignment of an `any` value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L62
Unsafe member access .id on an `any` value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L69
Unsafe assignment of an error typed value
|
lint:
packages/api/src/export/exportAdditionalMaterialsDoc.ts#L74
Unsafe assignment of an `any` value
|