Skip to content

fix: typecheck

fix: typecheck #231

Triggered via pull request July 3, 2024 09:41
Status Failure
Total duration 12m 18s
Artifacts

checks.yaml

on: pull_request
Lint, type check
12m 8s
Lint, type check
Fit to window
Zoom out
Zoom in

Annotations

80 errors and 1 warning
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...' is not assignable to type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...'. Two different types with this name exist, but they are unrelated. Type 'Promise<Filename[]>' is not assignable to type 'Promise<Dirent[]>'. Type 'Filename[]' is not assignable to type 'Dirent[]'. Type 'Filename' is not assignable to type 'Dirent'. Type 'String & { __pathType: PathType.File; }' is missing the following properties from type 'Dirent': isFile, isDirectory, isBlockDevice, isCharacterDevice, and 6 more.
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...' is not assignable to type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...'. Two different types with this name exist, but they are unrelated.
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...' is not assignable to type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...'. Two different types with this name exist, but they are unrelated.
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirPromise' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...' is not assignable to type '{ (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/path").PortablePath): Promise<...>; (p: import("/home/runner/work/raijin/raijin/.yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib...'. Two different types with this name exist, but they are unrelated.
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): DirEntry[]; (p: PortablePath, opts: { ...; }): Filename[] | DirEntry[]; }' is not assignable to type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): Dirent[]; (p: PortablePath, opts: { ...; }): Filename[] | Dirent[]; }'. Type 'Filename[]' is not assignable to type 'Dirent[]'.
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): DirEntry[]; (p: PortablePath, opts: { ...; }): Filename[] | DirEntry[]; }' is not assignable to type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): Dirent[]; (p: PortablePath, opts: { ...; }): Filename[] | Dirent[]; }'.
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): DirEntry[]; (p: PortablePath, opts: { ...; }): Filename[] | DirEntry[]; }' is not assignable to type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): Dirent[]; (p: PortablePath, opts: { ...; }): Filename[] | Dirent[]; }'.
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'.: .yarn/cache/@yarnpkg-fslib-npm-2.10.4-183028824b-c683b91a17.zip/node_modules/@yarnpkg/fslib/lib/ZipFS.d.ts#L0
Property 'readdirSync' in type 'ZipFS' is not assignable to the same property in base type 'BasePortableFakeFS'. Type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): DirEntry[]; (p: PortablePath, opts: { ...; }): Filename[] | DirEntry[]; }' is not assignable to type '{ (p: PortablePath): Filename[]; (p: PortablePath, opts: { withFileTypes: false; } | null): Filename[]; (p: PortablePath, opts: { ...; }): Dirent[]; (p: PortablePath, opts: { ...; }): Filename[] | Dirent[]; }'.
Class 'PathBase' incorrectly implements class 'Dirent'. Did you mean to extend 'Dirent' and inherit its members as a subclass?: .yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-eebfb8304f.zip/node_modules/path-scurry/dist/mjs/index.d.ts#L0
Class 'PathBase' incorrectly implements class 'Dirent'. Did you mean to extend 'Dirent' and inherit its members as a subclass? Property 'parentPath' is missing in type 'PathBase' but required in type 'Dirent'.
Type 'typeof import("/home/runner/work/raijin/raijin/.yarn/unplugged/prettier-npm-3.2.5-6859110d6a/node_modules/prettier/plugins/estree")' is not assignable to type 'string | Plugin<any>'.: code/code-format/src/formatter.ts#L42
Type 'typeof import("/home/runner/work/raijin/raijin/.yarn/unplugged/prettier-npm-3.2.5-6859110d6a/node_modules/prettier/plugins/estree")' is not assignable to type 'string | Plugin<any>'.
Variable 'hook' implicitly has type 'any' in some locations where its type cannot be determined.: code/code-schematics-worker/src/schematics.worker.content.ts#L3
Variable 'hook' implicitly has type 'any' in some locations where its type cannot be determined.
(@typescript-eslint/ban-types): Don't use `Function` as a type. The `Function` type accepts any function-like value. It provides no type safety when calling the function, which can be a common source of bugs. It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`. If you are expecting the function to accept certain arguments, you should explicitly define the function shape.: cli/cli-ui-parts/src/submit-factory.component.tsx#L10
Don't use `Function` as a type. The `Function` type accepts any function-like value. It provides no type safety when calling the function, which can be a common source of bugs. It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`. If you are expecting the function to accept certain arguments, you should explicitly define the function shape.
(@typescript-eslint/ban-types): Don't use `{}` as a type. `{}` actually means "any non-nullish value". - If you want a type meaning "any object", you probably want `object` instead. - If you want a type meaning "any value", you probably want `unknown` instead. - If you want a type meaning "empty object", you probably want `Record<string, never>` instead. - If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead.: code/code-schematics/src/node-pnp-engine.host.ts#L94
Don't use `{}` as a type. `{}` actually means "any non-nullish value". - If you want a type meaning "any object", you probably want `object` instead. - If you want a type meaning "any value", you probably want `unknown` instead. - If you want a type meaning "empty object", you probably want `Record<string, never>` instead. - If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead.
Lint, type check
Process completed with exit code 1.
Lint, type check
Process completed with exit code 1.