model-state-validation
Advanced tools
Comparing version 1.0.2 to 1.0.3
export * from "./Errors"; | ||
export * from "./ModelState"; | ||
export * from "./ModelStateError"; | ||
export * from "./typeGuards"; | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,4 @@ | ||
export {}; | ||
import { IValidator } from "./IValidator"; | ||
import { IValidatorAsync } from "./IValidatorAsync"; | ||
export declare function isValidator(validator: any): validator is IValidator<any>; | ||
export declare function isValidatorAsync(validator: any): validator is IValidatorAsync<any>; |
@@ -1,7 +0,7 @@ | ||
function isValidator(validator) { | ||
export function isValidator(validator) { | ||
return typeof validator.validate === "function"; | ||
} | ||
function isValidatorAsync(validator) { | ||
export function isValidatorAsync(validator) { | ||
return typeof validator.validateAsync === "function"; | ||
} | ||
//# sourceMappingURL=typeGuards.js.map |
{ | ||
"name": "model-state-validation", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
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
10387
121