diff --git a/package.json b/package.json index 639030673..a0216fb53 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,10 @@ "import": "./lib/index.mjs" }, "./package.json": "./package.json", - "./locales/*": "./lib/locales/*" + "./locales/*": { + "types": "./lib/locales/*.d.ts", + "require": "./lib/locales/*.js" + } }, "bugs": { "url": "https://github.com/colinhacks/zod/issues"