unreadable-typescript
v1.5.0
Published
type UnreadableType<T> = T extends object ? { [K in keyof T]: UnreadableType<T[K]> } : T;
Maintainers
Readme
unreadable-typescript
npm i --save-dev unreadable-typescriptSmall helper / utility library to simplify and manipulate TypeScript's complex and awkward syntax.
Structure
src/
├── enum/ # useEnum - work with enums (keys, values, entries, hasKey, hasValue)
├── interface/ # isTSInterface - runtime check if object conforms to a TS interface
├── type/ # extend, set - curried type builders to compose object types from unknown
└── utils/ # Type guards (isString, isNumber, isArray, isObject, ...) + withoutKey