pema 0.8.1 → 0.8.2
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.
package/lib/private/errors.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare function too_large(input: unknown, message: string, path?: JSONPointer):
|
|
|
8
8
|
declare function out_of_range(input: unknown, message: string, path?: JSONPointer): ParseError;
|
|
9
9
|
declare function duplicate(input: unknown, message: string, path?: JSONPointer): ParseError;
|
|
10
10
|
declare function not_in_set(input: unknown, message: string, path?: JSONPointer): ParseError;
|
|
11
|
-
declare function field(path:
|
|
11
|
+
declare function field(path: string, message: string): ParseError;
|
|
12
12
|
declare const _default: {
|
|
13
13
|
invalid_type: typeof invalid_type;
|
|
14
14
|
invalid_format: typeof invalid_format;
|
package/lib/private/index.d.ts
CHANGED
|
@@ -188,7 +188,7 @@ declare namespace schema {
|
|
|
188
188
|
var uuid: import("#UUIDType").default;
|
|
189
189
|
}
|
|
190
190
|
declare namespace schema {
|
|
191
|
-
var error: (path:
|
|
191
|
+
var error: (path: string, message: string) => import("./ParseError.js").default;
|
|
192
192
|
}
|
|
193
193
|
declare namespace schema {
|
|
194
194
|
var loose: {
|