Skip to content

Commit a66a42b

Browse files
committed
Changing the type of internal examples to the z.$input symbol.
1 parent bce730f commit a66a42b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

express-zod-api/src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as R from "ramda";
55
export const metaSymbol = Symbol.for("express-zod-api");
66

77
export interface Metadata {
8-
examples: unknown[]; // @todo try z.$input[] instead
8+
examples: z.$input[];
99
/** @override ZodDefault::_zod.def.defaultValue() in depictDefault */
1010
defaultLabel?: string;
1111
brand?: string | number | symbol;

0 commit comments

Comments
 (0)