common-resolver
Advanced tools
@@ -1,3 +0,3 @@ | ||
| export declare function superstructParser<T>(data: T, schema: import("superstruct").Struct<T, any>, options?: { | ||
| export declare function superstructParser<T>(data: NoInfer<T>, schema: import("superstruct").Struct<T, any>, options?: { | ||
| throwError: boolean; | ||
| }): T; |
@@ -1,3 +0,4 @@ | ||
| export declare function commonParser<T>(data: T, schema: any, resolver: any, options?: { | ||
| import { Resolver } from "../types"; | ||
| export declare function commonParser<T, K>(data: T, schema: K, resolver: (schema: K) => Resolver<T>, options?: { | ||
| throwError: boolean; | ||
| }): T; |
@@ -1,3 +0,3 @@ | ||
| export declare function yupParser<T>(data: T, schema: import("yup").Schema<T>, options?: { | ||
| export declare function yupParser<T>(data: NoInfer<T>, schema: import("yup").Schema<T>, options?: { | ||
| throwError: boolean; | ||
| }): T; |
@@ -1,3 +0,3 @@ | ||
| export declare function zodParser<T>(data: T, schema: import("zod").ZodSchema<T>, options?: { | ||
| export declare function zodParser<T>(data: NoInfer<T>, schema: import("zod").ZodSchema<T>, options?: { | ||
| throwError: boolean; | ||
| }): T; |
+1
-1
| { | ||
| "name": "common-resolver", | ||
| "version": "0.0.20", | ||
| "version": "1.0.0", | ||
| "scripts": { | ||
@@ -5,0 +5,0 @@ "build": "tsc" |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
29676
0.29%289
0.35%1
-50%