Comparing version 3.23.0-canary.20240414T000556 to 3.23.0-canary.20240416T051357
@@ -34,5 +34,2 @@ export declare namespace util { | ||
}[keyof T]; | ||
type optionalUnknown<K extends string | number | symbol> = { | ||
[k in K]?: unknown; | ||
}; | ||
type pickRequired<T extends object, R extends keyof T = requiredKeys<T>> = { | ||
@@ -44,3 +41,5 @@ [k in R]: T[k]; | ||
}; | ||
export type addQuestionMarks<T extends object> = pickRequired<T> & pickOptional<T> & optionalUnknown<keyof T>; | ||
export type addQuestionMarks<T extends object> = pickRequired<T> & pickOptional<T> & { | ||
[k in keyof T]?: unknown; | ||
}; | ||
export type identity<T> = T; | ||
@@ -47,0 +46,0 @@ export type flatten<T> = identity<{ |
{ | ||
"name": "zod", | ||
"version": "3.23.0-canary.20240414T000556", | ||
"version": "3.23.0-canary.20240416T051357", | ||
"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
651470
14688