@sinclair/typebox 0.26.0-dev.2 → 0.26.0-dev.3
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/compiler/compiler.d.ts +33 -33
- package/compiler/compiler.js +536 -536
- package/compiler/index.d.ts +2 -2
- package/compiler/index.js +47 -47
- package/errors/errors.d.ts +84 -84
- package/errors/errors.js +570 -570
- package/errors/index.d.ts +1 -1
- package/errors/index.js +44 -44
- package/package.json +2 -2
- package/readme.md +1 -7
- package/system/index.d.ts +1 -1
- package/system/index.js +44 -44
- package/system/system.d.ts +20 -20
- package/system/system.js +69 -69
- package/typebox.d.ts +648 -649
- package/typebox.js +1881 -1883
- package/value/cast.d.ts +26 -26
- package/value/cast.js +348 -348
- package/value/check.d.ts +8 -8
- package/value/check.js +450 -450
- package/value/clone.d.ts +3 -3
- package/value/clone.js +71 -71
- package/value/convert.d.ts +13 -13
- package/value/convert.js +345 -345
- package/value/create.d.ts +18 -18
- package/value/create.js +430 -430
- package/value/delta.d.ts +43 -43
- package/value/delta.js +204 -204
- package/value/equal.d.ts +3 -3
- package/value/equal.js +80 -80
- package/value/hash.d.ts +8 -8
- package/value/hash.js +208 -208
- package/value/index.d.ts +5 -5
- package/value/index.js +56 -56
- package/value/is.d.ts +11 -11
- package/value/is.js +53 -53
- package/value/pointer.d.ts +24 -24
- package/value/pointer.js +142 -142
- package/value/value.d.ts +26 -26
- package/value/value.js +93 -93
package/value/check.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as Types from '../typebox';
|
|
2
|
-
export declare class ValueCheckUnknownTypeError extends Error {
|
|
3
|
-
readonly schema: Types.TSchema;
|
|
4
|
-
constructor(schema: Types.TSchema);
|
|
5
|
-
}
|
|
6
|
-
export declare namespace ValueCheck {
|
|
7
|
-
function Check<T extends Types.TSchema>(schema: T, value: any): boolean;
|
|
8
|
-
}
|
|
1
|
+
import * as Types from '../typebox';
|
|
2
|
+
export declare class ValueCheckUnknownTypeError extends Error {
|
|
3
|
+
readonly schema: Types.TSchema;
|
|
4
|
+
constructor(schema: Types.TSchema);
|
|
5
|
+
}
|
|
6
|
+
export declare namespace ValueCheck {
|
|
7
|
+
function Check<T extends Types.TSchema>(schema: T, value: any): boolean;
|
|
8
|
+
}
|