From 391545ec164efa0bd11d6067ca488c8e548ec9e7 Mon Sep 17 00:00:00 2001 From: MichaelMitchell-at <=> Date: Fri, 13 Dec 2024 13:05:45 -0500 Subject: [PATCH] Update type in test for upcoming intersection equality behavior change --- src/__tests__/branded.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/branded.test.ts b/src/__tests__/branded.test.ts index d30dfeb83..e41be2d14 100644 --- a/src/__tests__/branded.test.ts +++ b/src/__tests__/branded.test.ts @@ -15,7 +15,7 @@ test("branded types", () => { type MySchema = z.infer; util.assertEqual< MySchema, - { name: string } & { [z.BRAND]: { superschema: true } } + { name: string } & z.BRAND<'superschema'> >(true); const doStuff = (arg: MySchema) => arg;