We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47cceb1 commit e50a71eCopy full SHA for e50a71e
1 file changed
express-zod-api/src/metadata.ts
@@ -35,9 +35,7 @@ export const mixExamples = <A extends z.ZodType, B extends z.ZodType>(
35
});
36
};
37
38
-export const getBrand = (
39
- subject: $ZodType,
40
-): string | number | symbol | undefined => {
+export const getBrand = (subject: $ZodType) => {
41
const { brand } = subject._zod.bag;
42
if (
43
typeof brand === "symbol" ||
0 commit comments