Comparing version 3.2.25 to 3.2.26
@@ -15,2 +15,8 @@ # Changelog | ||
# v3.2.26 | ||
- **Bug Fix** | ||
- struct typescript extend signature, #317 (@lramel) | ||
- defaultProps missing from StructOptions, #317 (@lramel) | ||
# v3.2.25 | ||
@@ -17,0 +23,0 @@ |
@@ -94,5 +94,6 @@ type Predicate<T> = (x: T) => boolean; | ||
strict: boolean; | ||
defaultProps: object; | ||
}; | ||
update: Update<T>; | ||
extend<E extends T>(mixins: StructMixin | Array<StructMixin>, name?: string): Struct<E>; | ||
extend<E extends T>(mixins: StructMixin | Array<StructMixin>, name?: string | StructOptions): Struct<E>; | ||
} | ||
@@ -102,3 +103,4 @@ | ||
name?: string, | ||
strict?: boolean | ||
strict?: boolean, | ||
defaultProps? object | ||
}; | ||
@@ -105,0 +107,0 @@ |
{ | ||
"name": "tcomb", | ||
"version": "3.2.25", | ||
"version": "3.2.26", | ||
"description": "Type checking and DDD for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "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
92293
1978