@hrc/type-utils
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@hrc/type-utils

Type utilities used by the following packages of <hrc />:

Installation

npm install @hrc/type-utils

Usage

import type { Simplify } from "@hrc/type-utils";

type MyType = {
  a: number;
  b: string;
};

type AnotherType = {
  c: boolean;
  d: number;
};

type FlattenedType = Simplify<MyType & AnotherType>;

Documentation

Package Sidebar

Install

npm i @hrc/type-utils

Weekly Downloads

12

Version

1.1.2

License

MIT

Unpacked Size

3.08 kB

Total Files

6

Last publish

Collaborators

  • hdoc