Comparing version 4.1.0 to 4.1.1
@@ -0,1 +1,7 @@ | ||
### 4.1.1 - 2020-01-29 | ||
#### 🐞 Fixes | ||
- **[func]** Removed the generic constraint as it is too restrictive. | ||
## 4.1.0 - 2020-01-20 | ||
@@ -2,0 +8,0 @@ |
@@ -112,2 +112,2 @@ import Schema from './Schema'; | ||
export declare function custom<T, S extends object = {}>(callback: CustomCallback<T, S>, defaultValue: DefaultValue<T>): Predicate<T>; | ||
export declare function func<T extends FuncOf = FuncOf>(defaultValue?: T | null): Predicate<T | null>; | ||
export declare function func<T = FuncOf>(defaultValue?: T | null): Predicate<T | null>; |
{ | ||
"name": "optimal", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "A system for building and validating defined object structures.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
103524