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;