minimal-types
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

License

Readme

Keywords

none

Package Sidebar

Install

npm i minimal-types

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

10.6 kB

Total Files

47

Last publish

Collaborators

  • akky-xxxx