1.2.0 • Published 2 years ago

io-type v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🛠️ io-type

TypeScript function I/O utility types

npm install --save-dev io-type

📖 Terminology

TermDescription
FunctionAny single-argument function (sync or async)
InputFunction argument
OutputFunction return value
RecordObject with function values

👻 Type utilities

Functions

TypeDescription
InType<T>Input type
OutType<T>Output type
InOutInterType<T>Intersection of input and output type
InOutUnionType<T>Union of input and output type

Records

TypeDescription
RecordInType<T>Record input types
RecordOutType<T>Record output types
RecordInUnionType<T>Record input union type
RecordOutUnionType<T>Record output union type
RecordInInterType<T>Record input intersection type
RecordOutInterType<T>Record output intersection type
1.2.0

2 years ago

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.3

2 years ago

0.2.0

2 years ago

0.1.0

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.2

3 years ago