Skip to content

ai-ml-architect/type-fest

 
 

Repository files navigation



type-fest

A collection of essential TypeScript types



Build Status

Many of the types here should have been built-in.

Either add this package as a dependency or copy-paste the needed types. No credit required.

PR welcome for additional commonly needed types and docs improvements.

Install

$ npm install type-fest

Usage

import {Omit} from 'type-fest';

type Foo = {
	unicorn: string;
	rainbow: boolean;
};

type FooWithoutRainbow = Omit<Foo, 'rainbow'>;
//=> {unicorn: string}

API

See the types file.

License

(MIT OR CC0-1.0)

About

A collection of essential TypeScript types

Resources

License

MIT, CC0-1.0 licenses found

Licenses found

MIT
license
CC0-1.0
license-cc0

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%