@fibjs/enforce
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -31,3 +31,3 @@ declare namespace enforce { | ||
export interface IValidator { | ||
validate(data: any, next: (message?: string) => void, thisArg?: any, contexts?: ContextMap) | ||
validate: ValidationCallback | ||
@@ -56,3 +56,3 @@ ifDefined(): enforce.IValidator | ||
export const Enforce: { new (options?: Options): IEnforce; } | ||
export const Validator: { new (options?: Options): IValidator; } | ||
export const Validator: { new (callback: ValidationCallback): IValidator; } | ||
@@ -73,2 +73,2 @@ export const lists: enforcementsContainer; | ||
export = enforce | ||
} | ||
} |
v0.0.6 / 2018-10-12 | ||
v0.0.7 / 2018-11-11 | ||
================== | ||
* typo fix | ||
v0.0.6 / 2018-10-12 | ||
=================== | ||
* Release v0.0.6 | ||
* typo fix. | ||
@@ -6,0 +12,0 @@ |
{ | ||
"name": "@fibjs/enforce", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
108725
1594