0.6.4 • Published 2 years 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
2 years ago
0.6.3
2 years ago
0.6.2
2 years ago
0.6.1
2 years ago
0.6.0
2 years ago
0.5.1
3 years ago
0.4.8
3 years ago
0.4.7
3 years ago
0.5.0
3 years ago
0.4.6
3 years ago
0.4.5
3 years ago
0.4.4
3 years ago
0.4.3
4 years ago
0.4.1
4 years ago
0.4.2
4 years ago
0.4.0
4 years ago
0.3.3
4 years ago
0.3.0
4 years ago
0.3.2
4 years ago
0.3.1
4 years ago
0.2.3
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.9
4 years ago
0.2.2
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago