Add SetRequiredDeep
type
#2173
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.
|