mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 12:29:26 +02:00
Fix typo in type-helpers.test-d.ts
This commit is contained in:
parent
fc2eb7fd41
commit
2baedb1263
@ -21,7 +21,7 @@ describe("AtLeastOne", () => {
|
|||||||
expectTypeOf<{ baz: number | string }>().toExtend<AtLeastOne<fakeObj>>();
|
expectTypeOf<{ baz: number | string }>().toExtend<AtLeastOne<fakeObj>>();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should convert to a partial intersected with the union of all individual single properties", () => {
|
it("should convert to a partial intersection with the union of all individual single properties", () => {
|
||||||
expectTypeOf<AtLeastOne<fakeObj>>().branded.toEqualTypeOf<
|
expectTypeOf<AtLeastOne<fakeObj>>().branded.toEqualTypeOf<
|
||||||
Partial<fakeObj> & ({ foo: number } | { bar: string } | { baz: number | string })
|
Partial<fakeObj> & ({ foo: number } | { bar: string } | { baz: number | string })
|
||||||
>();
|
>();
|
||||||
|
Loading…
Reference in New Issue
Block a user