ggondim / ts-advanced-types

Advanced types for TypeScript, including XOR, Without, and many more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript Advanced Types

Advanced types for TypeScript, including XOR, Without, and many more.

Usage

$ npm install --save ts-advanced-types
// Example using TypeXOR type

import { TypeXOR } from 'ts-advanced-types';

type AorB = TypeXOR<A, B>;

Types

See index.ts

About

Advanced types for TypeScript, including XOR, Without, and many more.

License:MIT License


Languages

Language:TypeScript 100.0%