Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmuffme committed May 21, 2023
1 parent be5494e commit b4aa394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-d/non-empty-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ declare const test3: NonEmptyObject3;
declare const test4: NonEmptyObject4;

expectType<TestType1>(test1);
expectType<{a: string; b?: boolean}|{a?: string; b: boolean}>(test2);
expectType<TestType3|{a?: string; b: boolean}>(test3);
expectType<{a: string; b?: boolean} | {a?: string; b: boolean}>(test2);
expectType<TestType3 | {a?: string; b: boolean}>(test3);
expectType<never>(test4);

0 comments on commit b4aa394

Please sign in to comment.