Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
@@ -0,1 +1,5 @@ | ||
# 1.0.0-alpha.6 | ||
* [FIX] `ModelErrors` should have `PropertyError[]` per property, not a single `PropertyError` | ||
# 1.0.0-alpha.5 | ||
@@ -2,0 +6,0 @@ |
@@ -19,3 +19,3 @@ import { Model, ModelConstructor } from './model'; | ||
export declare type ModelErrors<T extends Model> = { | ||
[P in keyof T]?: PropertyError; | ||
[P in keyof T]?: PropertyError[]; | ||
}; | ||
@@ -22,0 +22,0 @@ /** |
{ | ||
"name": "modelsafe", | ||
"version": "1.0.0-alpha.5", | ||
"version": "1.0.0-alpha.6", | ||
"main": "dist/index.js", | ||
@@ -23,3 +23,3 @@ "bugs": "https://github.com/creativecuriositystudio/modelsafe/issues", | ||
"build": "tsc", | ||
"docs": "typedoc --out docs src/index.ts", | ||
"docs": "typedoc --name ModelSafe --mode modules --out docs src", | ||
"docs:deploy": "npm run docs && gh-pages -d docs", | ||
@@ -26,0 +26,0 @@ "test": "mocha --opts mocha.opts", |
@@ -26,3 +26,3 @@ /** Contains the validation types. */ | ||
export type ModelErrors<T extends Model> = { | ||
[P in keyof T]?: PropertyError; | ||
[P in keyof T]?: PropertyError[]; | ||
}; | ||
@@ -29,0 +29,0 @@ |
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
302992
54
4540