Comparing version 3.22.0-canary.20230521T230122 to 3.22.0-canary.20230521T230556
@@ -70,3 +70,3 @@ import { enumUtil } from "./helpers/enumUtil"; | ||
superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>; | ||
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>; | ||
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void | Promise<void>): ZodEffects<this, Output, Input>; | ||
constructor(def: Def); | ||
@@ -734,3 +734,3 @@ optional(): ZodOptional<this>; | ||
export declare type Refinement<T> = (arg: T, ctx: RefinementCtx) => any; | ||
export declare type SuperRefinement<T> = (arg: T, ctx: RefinementCtx) => void; | ||
export declare type SuperRefinement<T> = (arg: T, ctx: RefinementCtx) => void | Promise<void>; | ||
export declare type RefinementEffect<T> = { | ||
@@ -737,0 +737,0 @@ type: "refinement"; |
{ | ||
"name": "zod", | ||
"version": "3.22.0-canary.20230521T230122", | ||
"version": "3.22.0-canary.20230521T230556", | ||
"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
606647