Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -1,2 +0,1 @@ | ||
import type { JsonValue } from './json-value'; | ||
import type { TransformationOptions } from './transformation-options'; | ||
@@ -13,5 +12,5 @@ import { ValidationOptions } from './validation-options'; | ||
/** Synchronously deserializes the specified value from JSON */ | ||
export declare type Deserializer<T> = (value: JsonValue, options?: TransformationOptions & ValidationOptions) => DeserializationResult<T>; | ||
export declare type Deserializer<T> = (value: any, options?: TransformationOptions & ValidationOptions) => DeserializationResult<T>; | ||
/** Asynchronously deserializes the specified value from JSON */ | ||
export declare type AsyncDeserializer<T> = (value: JsonValue, options?: TransformationOptions & ValidationOptions) => Promise<DeserializationResult<T>>; | ||
export declare type AsyncDeserializer<T> = (value: any, options?: TransformationOptions & ValidationOptions) => Promise<DeserializationResult<T>>; | ||
//# sourceMappingURL=deserializer.d.ts.map |
{ | ||
"name": "yaschema", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "Yet another schema", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
284431
3110