@umijs/zod2ts 4.0.61 → 4.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/zod.js +1 -1
  2. package/package.json +1 -1
package/dist/zod.js CHANGED
@@ -216,7 +216,7 @@ ${members.map(([key, type, desc]) => {
216
216
  zod: zod._def.returns,
217
217
  ...props
218
218
  });
219
- return `(${argTypes.join(", ")}) => ${returnType}`;
219
+ return `((${argTypes.join(", ")}) => ${returnType})`;
220
220
  }
221
221
  case "ZodDefault": {
222
222
  const type = zodToTs({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/zod2ts",
3
- "version": "4.0.61",
3
+ "version": "4.0.62",
4
4
  "description": "@umijs/zod2ts",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/zod2ts#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",