model-state-validation
Advanced tools
Comparing version 1.0.3 to 1.0.4
import { IModelStateError } from "./IModelStateError"; | ||
export declare class Errors { | ||
[property: string]: any; | ||
addStateError(stateError: IModelStateError): void; | ||
@@ -4,0 +5,0 @@ private containsField; |
@@ -8,7 +8,5 @@ export class Errors { | ||
containsField(fieldName) { | ||
// @ts-ignore | ||
return typeof this[fieldName] !== "undefined"; | ||
} | ||
addField(fieldName, value) { | ||
// @ts-ignore | ||
this[fieldName] = value; | ||
@@ -15,0 +13,0 @@ } |
export * from "./Errors"; | ||
export * from "./IModelState"; | ||
export * from "./IModelStateError"; | ||
export * from "./IValidator"; | ||
export * from "./IValidatorAsync"; | ||
export * from "./ModelState"; | ||
@@ -3,0 +7,0 @@ export * from "./ModelStateError"; |
{ | ||
"name": "model-state-validation", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -25,6 +25,6 @@ "contributors": [ | ||
"devDependencies": { | ||
"tslint": "6.0.0", | ||
"tslint": "6.1.2", | ||
"tslint-config-prettier": "1.18.0", | ||
"tslint-eslint-rules": "5.4.0", | ||
"typescript": "3.8.3" | ||
"typescript": "3.9.7" | ||
}, | ||
@@ -31,0 +31,0 @@ "repository": { |
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
10575
124