0.0.2 • Published 7 months ago
minimal-types v0.0.2
minimal types
The type that I personally would like to see incorporated into Typescript.
and so on.
Installation
# by yarn
$ yarn add -D minimal-types
# by npm
$ npm i --save-dev minimal-types
Types
Type | Description |
---|---|
AnyFunction | Use for temporary function or common the function, instead Function . |
BuiltinObjectTypes | Built in Object types. |
CommonObject | Use for temporary Object or common the Object, instead {} , object . |
ConstantCase | Define the constant case. |
ConvertCamelToSnake | Change camel case string literal type to snake case string literal type. |
ConvertSnakeToCamel | Change snake case string literal type to camel case string literal type. |
DeepReadonly | Do readonly until to nested properties. « |
DeepUnReadonly | Remove readonly until to nested properties. |
EmptyVoidFunction | Common Function type that Not have arguments, return. |
Equal | Determine if X and Y in params are equivalent. |
FixedLengthArray | Define the array that fixed length. |
Overwrite | Overwrite property type. |
StandardizeObject | Union object type is treat as difference. |