Skip to content

Commit e50a71e

Browse files
committed
rm return type on getBrand.
1 parent 47cceb1 commit e50a71e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

express-zod-api/src/metadata.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ export const mixExamples = <A extends z.ZodType, B extends z.ZodType>(
3535
});
3636
};
3737

38-
export const getBrand = (
39-
subject: $ZodType,
40-
): string | number | symbol | undefined => {
38+
export const getBrand = (subject: $ZodType) => {
4139
const { brand } = subject._zod.bag;
4240
if (
4341
typeof brand === "symbol" ||

0 commit comments

Comments
 (0)