Skip to content

Commit 4e99ab1

Browse files
✨ Add typesVersions for zod validator to improve TypeScript support
1 parent c2b46e6 commit 4e99ab1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
"import": "./dist/validators/zod.js"
3838
}
3939
},
40+
"typesVersions": {
41+
"*": {
42+
"validators/zod": [
43+
"dist/validators/zod.d.ts"
44+
]
45+
}
46+
},
4047
"type": "module",
4148
"scripts": {
4249
"build": "tsup",

0 commit comments

Comments
 (0)