Comparing version 3.23.0-canary.20240407T005829 to 3.23.0-canary.20240408T222819
@@ -10,2 +10,3 @@ export declare namespace util { | ||
export type MakePartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>; | ||
export type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>; | ||
export const arrayToEnum: <T extends string, U extends [T, ...T[]]>(items: U) => { [k in U[number]]: k; }; | ||
@@ -12,0 +13,0 @@ export const getValidEnumValues: (obj: any) => any[]; |
@@ -543,8 +543,8 @@ import { enumUtil } from "./helpers/enumUtil"; | ||
catchall<Index extends ZodTypeAny>(index: Index): ZodObject<T, UnknownKeys, Index>; | ||
pick<Mask extends { | ||
pick<Mask extends util.Exactly<{ | ||
[k in keyof T]?: true; | ||
}>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>; | ||
omit<Mask extends { | ||
}, Mask>>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>; | ||
omit<Mask extends util.Exactly<{ | ||
[k in keyof T]?: true; | ||
}>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>; | ||
}, Mask>>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>; | ||
/** | ||
@@ -551,0 +551,0 @@ * @deprecated |
{ | ||
"name": "zod", | ||
"version": "3.23.0-canary.20240407T005829", | ||
"version": "3.23.0-canary.20240408T222819", | ||
"author": "Colin McDonnell <colin@colinhacks.com>", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
650952
14636