0.0.2 • Published 7 months ago

minimal-types v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

TypeDescription
AnyFunctionUse for temporary function or common the function, instead Function.
BuiltinObjectTypesBuilt in Object types.
CommonObjectUse for temporary Object or common the Object, instead {}, object.
ConstantCaseDefine the constant case.
ConvertCamelToSnakeChange camel case string literal type to snake case string literal type.
ConvertSnakeToCamelChange snake case string literal type to camel case string literal type.
DeepReadonlyDo readonly until to nested properties. «
DeepUnReadonlyRemove readonly until to nested properties.
EmptyVoidFunctionCommon Function type that Not have arguments, return.
EqualDetermine if X and Y in params are equivalent.
FixedLengthArrayDefine the array that fixed length.
OverwriteOverwrite property type.
StandardizeObjectUnion object type is treat as difference.

License

0.0.2

7 months ago

0.0.1

1 year ago