0.6.4 • Published 7 months ago
hotypes v0.6.4
hotypes
Higher-order types for TypeScript in the real world.
hotypes
contains these types:
- A new type is a modified type from another type.
- A new type is an operator or a function.
- A new type is an internal type extractor.
Install
npm install --save hotypes
# or
yarn add hotypes
API
- Equals
- Head
- Last
- Tail
- Flatten
- FlattenDeep
- FunctionKeys
- NonNullableKeys
- NullableKeys
- OptionalKeys
- KeysByType
- KeysByExactType
- KeysExcludeByType
- KeysExcludeByExactType
- MapAllProps
- MapPropsByKey
- MapPropsByType
- MapPropsByExactType
- MapNullablePropsToOptionalNullable
- MapNullablePropsToOptional
- MapPropsToRequiredByKey
- MapPropsToOptionalByKey
- MapPropsToNonNullable
- Mixin
- MixinAll
- PickNonNever
- Pop
- PropByPath
- OmitPropsByType
- OmitPropsByExactType
- Replace
- ReplacePropsByKey
- ReplacePropsByType
- WithDefault
- NonCallable
- ReturnTypeOfConstructor
- ParametersOfConstructor
- UnpackedArray
- UnpackedArrayLike
- UnpackedIterable
- UnpackedAsyncIterable
- UnpackedPromise
- UnpackedPromiseLike
The Unpacked
prefix comes from this official article
0.6.4
7 months ago
0.6.3
10 months ago
0.6.2
11 months ago
0.6.1
1 year ago
0.6.0
1 year ago
0.5.1
1 year ago
0.4.8
2 years ago
0.4.7
2 years ago
0.5.0
2 years ago
0.4.6
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.4.3
2 years ago
0.4.1
3 years ago
0.4.2
3 years ago
0.4.0
3 years ago
0.3.3
3 years ago
0.3.0
3 years ago
0.3.2
3 years ago
0.3.1
3 years ago
0.2.3
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.9
3 years ago
0.2.2
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago