tsbuffer-validator
Advanced tools
Comparing version 2.1.0-dev.3 to 2.1.0-dev.4
/*! | ||
* TSBuffer Validator v2.1.0-dev.3 | ||
* TSBuffer Validator v2.1.0-dev.4 | ||
* ----------------------------------------- | ||
@@ -4,0 +4,0 @@ * MIT LICENSE |
/*! | ||
* TSBuffer Validator v2.1.0-dev.3 | ||
* TSBuffer Validator v2.1.0-dev.4 | ||
* ----------------------------------------- | ||
@@ -245,3 +245,6 @@ * MIT LICENSE | ||
var parsedExtRef = this.parseReference(extend.type); | ||
if (parsedExtRef.type !== tsbufferSchema.SchemaType.Interface) { | ||
if (this.isMappedType(parsedExtRef)) { | ||
parsedExtRef = this._flattenMappedType(parsedExtRef); | ||
} | ||
if (!this.isInterface(parsedExtRef)) { | ||
throw new Error('SchemaError: extends must from interface but from ' + parsedExtRef.type); | ||
@@ -248,0 +251,0 @@ } |
{ | ||
"name": "tsbuffer-validator", | ||
"version": "2.1.0-dev.3", | ||
"version": "2.1.0-dev.4", | ||
"description": "Validator for TSBuffer values", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
109213
2318