ts-interface-checker
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -7,2 +7,3 @@ import { ITypeSuite, TType } from "./types"; | ||
export { TArray, TEnumType, TEnumLiteral, TFunc, TIface, TLiteral, TName, TOptional, TParam, TParamList, TProp, TTuple, TType, TUnion, TIntersection, array, enumlit, enumtype, func, iface, lit, name, opt, param, tuple, union, intersection, BasicType, ITypeSuite, } from "./types"; | ||
export { VError, IErrorDetail } from './util'; | ||
export interface ICheckerSuite { | ||
@@ -9,0 +10,0 @@ [name: string]: Checker; |
@@ -37,2 +37,4 @@ "use strict"; | ||
exports.BasicType = types_2.BasicType; | ||
var util_2 = require("./util"); | ||
exports.VError = util_2.VError; | ||
/** | ||
@@ -39,0 +41,0 @@ * Takes one of more type suites (e.g. a module generated by `ts-interface-builder`), and combines |
@@ -22,2 +22,4 @@ "use strict"; | ||
_this.path = path; | ||
// See https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work for info about this workaround. | ||
Object.setPrototypeOf(_this, VError.prototype); | ||
return _this; | ||
@@ -24,0 +26,0 @@ } |
{ | ||
"name": "ts-interface-checker", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "Runtime library to validate data against TypeScript interfaces", | ||
@@ -53,4 +53,4 @@ "main": "dist/index", | ||
"coveralls": "^3.0.0", | ||
"mocha": "^3.5.3", | ||
"nyc": "^11.4.1", | ||
"mocha": "^7.1.2", | ||
"nyc": "^15.0.1", | ||
"protobufjs": "^6.8.3", | ||
@@ -57,0 +57,0 @@ "source-map-support": "^0.5.0", |
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
62405
1243