mol_type_all
v0.0.1339
Published
Collection of TypeScript meta types for complex logic.
Downloads
4,144
Maintainers
Keywords
Readme
$mol_type
Collection of TypeScript meta types for complex logic.
MAM Usage
type first_of_tuple = $mol_type_assert<
$mol_type_head<[ 1 , 2 , 3 ]> ,
1
>
NPM usage
npm install mol_type_all
import {
$mol_type_assert as Assert ,
$mol_type_head as Head ,
} from 'mol_type_all'
type first_of_tuple = Assert<
Head<[ 1 , 2 , 3 ]> ,
1
>
Similar Projects
piotrwitek/utility-types
- Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).pirix-gh/ts-toolbelt
- All the types you need for TypeScript.ksxnodemodules/typescript-tuple
- Generics to work with tuples in TypeScript