Skip to content

Add SetRequiredDeep type #2173

Add SetRequiredDeep type

Add SetRequiredDeep type #2173

Triggered via pull request August 20, 2024 08:55
Status Failure
Total duration 53s
Artifacts

main.yml

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

Annotations

6 errors
TypeScript ~5.3.0: test-d/set-required-deep.ts#L29
Type '({ b: number; c: string; } | { b: number; })[]' is not assignable to type '{ [x: number]: { c?: string; b: number; }; length: number; toString: (() => string) & (() => string); toLocaleString: (() => string) & (() => string); pop: (() => Omit<{ b?: number; c?: string; }, "b"> | undefined) & (() => RequiredObjectDeep<...> | undefined); ... 36 more ...; readonly [Symbol.unscopables]: { ...; ...'.
TypeScript ~5.3.0
Process completed with exit code 2.
TypeScript ~5.1.0: test-d/set-required-deep.ts#L29
Type '({ b: number; c: string; } | { b: number; })[]' is not assignable to type '{ [x: number]: { c?: string; b: number; }; length: number; toString: (() => string) & (() => string); toLocaleString: (() => string) & (() => string); pop: (() => Omit<{ b?: number; c?: string; }, "b"> | undefined) & (() => RequiredObjectDeep<...> | undefined); ... 32 more ...; readonly [Symbol.unscopables]: { ...; ...'.
TypeScript ~5.1.0
Process completed with exit code 2.
TypeScript ~5.2.0: test-d/set-required-deep.ts#L29
Type '({ b: number; c: string; } | { b: number; })[]' is not assignable to type '{ [x: number]: { c?: string; b: number; }; length: number; toString: (() => string) & (() => string); toLocaleString: (() => string) & (() => string); pop: (() => Omit<{ b?: number; c?: string; }, "b"> | undefined) & (() => RequiredObjectDeep<...> | undefined); ... 36 more ...; readonly [Symbol.unscopables]: { ...; ...'.
TypeScript ~5.2.0
Process completed with exit code 2.