@hrc/type-utils
v1.1.3
Published
Type utilities used by component packages of <hrc />
Downloads
19
Maintainers
Readme
@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>;