Skip to content

Expose ArrayElement type #2105

Expose ArrayElement type

Expose ArrayElement type #2105

Triggered via pull request July 14, 2024 03:10
Status Failure
Total duration 46s
Artifacts

main.yml

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

Annotations

72 errors
TypeScript ~5.1.0: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.1.0: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.1.0: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.1.0: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.1.0: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
TypeScript ~5.1.0: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.1.0: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
TypeScript ~5.1.0: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
TypeScript ~5.1.0
Process completed with exit code 2.
TypeScript latest: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript latest: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript latest: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
TypeScript latest: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript latest: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
TypeScript latest: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript latest: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
TypeScript latest: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
TypeScript latest
Process completed with exit code 2.
TypeScript ~5.2.0: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.2.0: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.2.0: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.2.0: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.2.0: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
TypeScript ~5.2.0: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.2.0: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
TypeScript ~5.2.0: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
TypeScript ~5.2.0
Process completed with exit code 2.
TypeScript ~5.3.0: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.3.0: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.3.0: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.3.0: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.3.0: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
TypeScript ~5.3.0: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.3.0: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
TypeScript ~5.3.0: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
TypeScript ~5.3.0
Process completed with exit code 2.
TypeScript ~5.4.0: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.4.0: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.4.0: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
TypeScript ~5.4.0: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.4.0: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
TypeScript ~5.4.0: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
TypeScript ~5.4.0: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
TypeScript ~5.4.0: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
TypeScript ~5.4.0
Process completed with exit code 2.
Node.js 16: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 16: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 16: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
Node.js 16: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 16: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
Node.js 16: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 16: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
Node.js 16: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
Node.js 16
Process completed with exit code 1.
Node.js 20: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 20: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 20: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
Node.js 20: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 20: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
Node.js 20: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 20: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
Node.js 20: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
Node.js 20
Process completed with exit code 1.
Node.js 18: source/exact.d.ts#L65
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 18: source/exact.d.ts#L67
Type 'InputType' does not satisfy the constraint 'readonly unknown[]'.
Node.js 18: test-d/array-element.ts#L11
Type 'unknown' does not satisfy the constraint 'readonly unknown[]'.
Node.js 18: test-d/exact.ts#L252
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 18: test-d/exact.ts#L259
Unused '@ts-expect-error' directive.
Node.js 18: test-d/exact.ts#L300
Argument of type '{ x: string; z: number; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; }, { x: string; z: number; }>[]'.
Node.js 18: test-d/exact.ts#L307
Unused '@ts-expect-error' directive.
Node.js 18: test-d/exact.ts#L352
Argument of type '{ x: string; z: number; d: { e: string; f: boolean; }; }[]' is not assignable to parameter of type 'ExactObject<{ z: number; d: { e: string; f: boolean; }; }, { x: string; z: number; d: { e: string; f: boolean; }; }>[]'.
Node.js 18
Process completed with exit code 1.