type-plus
Advanced tools
Comparing version 1.23.0 to 1.23.1
{ | ||
"name": "type-plus", | ||
"version": "1.23.0", | ||
"version": "1.23.1", | ||
"description": "Provides additional types for `typescript`.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/unional/type-plus", |
@@ -50,3 +50,3 @@ # type-plus | ||
- `PromiseValue<P>`: Gets the type within the Promise. | ||
- `mapSeries()`: Similar to `bluebird.mapSeries()` but works with `async`/`await` | ||
- `mapSeries()`: Similar to `bluebird.mapSeries()` but works with `async`/`await`. | ||
@@ -61,4 +61,5 @@ ### Nominal Type | ||
- `Except<T, K>`: From `T`, pick a set of properties whose keys are not in the union `K`. This is the opposite of `Pick<T, K>` | ||
- `Except<T, K>`: Deprecated. Same as `Omit<T, K>`. | ||
- `ExcludePropType<T, U>`: excludes type `U` from properties in `T`. | ||
- `Omit<T, K>`: From `T`, pick a set of properties whose keys are not in the union `K`. This is the opposite of `Pick<T, K>`. | ||
- `PartialPick<T, U>`: makes the properties specified in `U` becomes optional. | ||
@@ -72,3 +73,3 @@ - `PartialExcept<T, U>`: makes the properties not specified in `U` becomes optional. | ||
- `ValueOf<T>`: type of the value of the properties of `T`. | ||
- PropType: ...no helper type for this. Just do `YourType['propName']` | ||
- PropType: ...no helper type for this. Just do `YourType['propName']`. | ||
@@ -75,0 +76,0 @@ ### Type assertion |
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
102649
133