zod 3.23.4 → 3.23.5

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/lib/types.d.ts +1 -1
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -758,7 +758,7 @@ export declare class ZodLiteral<T> extends ZodType<T, ZodLiteralDef<T>, T> {
758
758
  }
759
759
  export declare type ArrayKeys = keyof any[];
760
760
  export declare type Indices<T> = Exclude<keyof T, ArrayKeys>;
761
- export declare type EnumValues<T extends string = string> = [T, ...T[]];
761
+ export declare type EnumValues<T extends string = string> = readonly [T, ...T[]];
762
762
  export declare type Values<T extends EnumValues> = {
763
763
  [k in T[number]]: k;
764
764
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zod",
3
- "version": "3.23.4",
3
+ "version": "3.23.5",
4
4
  "author": "Colin McDonnell <colin@colinhacks.com>",
5
5
  "repository": {
6
6
  "type": "git",