tsbuffer-validator
Advanced tools
Comparing version 1.1.4 to 1.1.5
/*! | ||
* TSBuffer Validator v1.1.4 | ||
* TSBuffer Validator v1.1.5 | ||
* ----------------------------------------- | ||
@@ -54,2 +54,4 @@ * Apache 2.0 LICENSE | ||
parseMappedType(schema: PickTypeSchema | OmitTypeSchema | PartialTypeSchema | OverwriteTypeSchema): InterfaceTypeSchema | UnionTypeSchema; | ||
/** type类型是否能编码为该literal */ | ||
canBeLiteral(schema: TSBufferSchema, literal: any): boolean; | ||
} | ||
@@ -128,2 +130,11 @@ | ||
/** | ||
* 单次validate的选项,会向下透传 | ||
* @public | ||
*/ | ||
export declare interface ValidateOptions { | ||
/** Common properties from Union/Intersection type */ | ||
unionProperties?: string[]; | ||
} | ||
/** @public */ | ||
@@ -130,0 +141,0 @@ export declare type ValidateOutput = { |
{ | ||
"name": "tsbuffer-validator", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "Validator for TSBuffer values", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs", |
Sorry, the diff of this file is not supported yet
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
53838
304