Skip to content

Infer from context sensitive return expressions #32832

Infer from context sensitive return expressions

Infer from context sensitive return expressions #32832

Triggered via pull request January 3, 2025 09:57
Status Failure
Total duration 17m 33s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 16 warnings
self-check: src/compiler/factory/nodeFactory.ts#L502
Argument of type '<T extends JSDocType>(kind: T["kind"]) => () => Mutable<T>' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => () => Mutable<JSDocType>'.
self-check: src/compiler/factory/nodeFactory.ts#L503
Argument of type '<T extends JSDocType & { readonly type: TypeNode | undefined; }>(kind: T["kind"]) => (type: T["type"]) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (type: T["type"]) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L504
Argument of type '<T extends JSDocType & { readonly type: TypeNode | undefined; }>(kind: T["kind"]) => (node: T, type: T["type"]) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (node: T, type: T["type"]) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L505
Argument of type '<T extends JSDocType & { readonly type: TypeNode | undefined; readonly postfix: boolean; }>(kind: T["kind"]) => (type: T["type"], postfix?: boolean) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (type: T["type"], postfix?: boolean | undefined) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L506
Argument of type '<T extends JSDocType & { readonly type: TypeNode | undefined; readonly postfix: boolean; }>(kind: T["kind"]) => (node: T, type: T["type"]) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (node: T, type: T["type"]) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L507
Argument of type '<T extends JSDocTag>(kind: T["kind"]) => (tagName: Identifier | undefined, comment?: NodeArray<JSDocComment>) => Mutable<T>' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (tagName: Identifier | undefined, comment?: NodeArray<JSDocComment> | undefined) => Mutable<...>'.
self-check: src/compiler/factory/nodeFactory.ts#L508
Argument of type '<T extends JSDocTag>(kind: T["kind"]) => (node: T, tagName: Identifier | undefined, comment?: NodeArray<JSDocComment>) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (node: T, tagName: Identifier | undefined, comment?: NodeArray<JSDocComment> | undefined) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L509
Argument of type '<T extends JSDocTag & { typeExpression?: JSDocTypeExpression; }>(kind: T["kind"]) => (tagName: Identifier | undefined, typeExpression?: JSDocTypeExpression, comment?: NodeArray<JSDocComment>) => Mutable<...>' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (tagName: Identifier | undefined, typeExpression?: JSDocTypeExpression | undefined, comment?: NodeArray<...> | undefined) => Mutable<...>'.
self-check: src/compiler/factory/nodeFactory.ts#L510
Argument of type '<T extends JSDocTag & { typeExpression?: JSDocTypeExpression; }>(kind: T["kind"]) => (node: T, tagName: Identifier | undefined, typeExpression?: JSDocTypeExpression, comment?: NodeArray<JSDocComment>) => T' is not assignable to parameter of type '(arg: string | number | boolean | undefined) => (node: T, tagName: Identifier | undefined, typeExpression?: JSDocTypeExpression | undefined, comment?: NodeArray<...> | undefined) => T'.
self-check: src/compiler/factory/nodeFactory.ts#L801
Type 'unknown' is not assignable to type '() => JSDocAllType'.
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
knip
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
misc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
smoke
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
self-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
browser-integration
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
package-size
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node 22 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node 20 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
baselines
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node 18 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node 16 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node 14 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Node lts/* on ubuntu-latest with --no-bundle
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
coverage
52.9 MB