Skip to content

Typecheck

Typecheck #70

Triggered via pull request May 1, 2024 14:22
@nexmoenexmoe
synchronize #114
typecheck
Status Failure
Total duration 55s
Artifacts

ci.yaml

on: pull_request
testCodebase
45s
testCodebase
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
testCodebase: components/module/List.vue#L36
'__VLS_ctx.flow' is possibly 'undefined'.
testCodebase: components/module/List.vue#L44
'__VLS_ctx.flow' is possibly 'undefined'.
testCodebase: node_modules/.pnpm/@[email protected]/node_modules/@sidebase/core/components/TheWelcome.vue#L4
Cannot find module 'naive-ui' or its corresponding type declarations.
testCodebase: pages/module/[id].vue#L7
Type 'string | string[]' is not assignable to type 'string'.
testCodebase: pages/space/_[id].vue#L10
Property 'flow' does not exist on type 'Ref<Simplify<SerializeObject<{ flow: ({ module: { id: string; createdAt: Date; updatedAt: Date; title: string; url: string; image: string | null; imageWidth: number | null; imageHeight: number | null; content: string; date: Date; platform: string[]; flowId: string | null; }[]; } & { ...; })[]; } & { ...; }> | null>>'.
testCodebase: server/flowing.ts#L3
Could not find a declaration file for module 'probe-image-size'. '/home/runner/work/roam-space/roam-space/node_modules/.pnpm/[email protected]/node_modules/probe-image-size/index.js' implicitly has an 'any' type.
testCodebase: server/flowing.ts#L132
Object literal may only specify known properties, and 'imageWidth' does not exist in type '{ title: string; content: string; image: string | undefined; date: Date; }'.
testCodebase: server/flowing.ts#L156
Object literal may only specify known properties, and 'imageWidth' does not exist in type '{ date: Date; flowId: string; title: string; url: string; image?: string | undefined; content: string; platform?: string[] | undefined; }'.
testCodebase: server/flowing.ts#L182
Property 'api' does not exist on type '{ id: string; createdAt: Date; updatedAt: Date; title: string; description: string | null; homepage: string | null; index: number | null; configCard: string | null; configNoContent: boolean; configNoTitle: boolean; configOpenURL: boolean; spaceId: string | null; }'.
testCodebase: server/flowing.ts#L211
Parameter 'r' implicitly has an 'any' type.
testCodebase
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.