Skip to content

Commit

Permalink
Update type in test for upcoming intersection equality behavior change
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMitchell-at committed Dec 13, 2024
1 parent f7ad261 commit 391545e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/branded.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test("branded types", () => {
type MySchema = z.infer<typeof mySchema>;
util.assertEqual<
MySchema,
{ name: string } & { [z.BRAND]: { superschema: true } }
{ name: string } & z.BRAND<'superschema'>
>(true);

const doStuff = (arg: MySchema) => arg;
Expand Down

0 comments on commit 391545e

Please sign in to comment.