type-plus
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -10,1 +10,3 @@ export * from './filterKey'; | ||
export * from './reduceKey'; | ||
export * from './Required'; | ||
export * from './ValueOf'; |
{ | ||
"name": "type-plus", | ||
"description": "Provides additional types for `typescript`.", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"homepage": "https://github.com/unional/type-plus", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -62,2 +62,10 @@ # type-plus | ||
### `RequiredPick<T, U>` | ||
Makes the properties specified in `U` becomes required. | ||
### `RequiredExcept<T, U>` | ||
Makes the properties not specified in `U` becomes required. | ||
### `ValueOf<T>` | ||
@@ -64,0 +72,0 @@ |
@@ -10,1 +10,3 @@ export * from './filterKey'; | ||
export * from './reduceKey'; | ||
export * from './Required'; | ||
export * from './ValueOf' |
export function excludeUndefined<T>(actual: T): Exclude<T, undefined> { return actual as any } | ||
export function acceptNoUndefined<T>(actual: Exclude<T, undefined>) { return actual } |
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
30092
78
557
116