Skip to content

Commit fa1a3a6

Browse files
committed
Todo regarding copyMeta() fn.
1 parent 6bc1fa9 commit fa1a3a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

express-zod-api/src/metadata.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export interface Metadata {
1111
brand?: string | number | symbol;
1212
}
1313

14+
// @todo this should be renamed to copyExamples or mixinExamples or something similar
1415
export const copyMeta = <A extends z.ZodType, B extends z.ZodType>(
1516
src: A,
1617
dest: B,

0 commit comments

Comments
 (0)