Skip to content
This repository was archived by the owner on Jul 26, 2026. It is now read-only.
mrzli-otherPublic archive

About

Generic types.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Generic Types

Some generic types for TypeScript.

Installation

npm install --save-dev @gmjs/generic-types

Types

See more at src/types.

// generic
KeyOf<T>;
NotIterable<T>;

// function
Fn1<T, R>;
Fn2<T1, T2, R>;
Fn3<T1, T2, T3, R>;
Fn4<T1, T2, T3, T4, R>;

// object
EmptyObject;
AnyObject;
ObjectKey;

// container
Pair<K, V>;

About

Generic types.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages