Type utilities used by the following packages of <hrc />
:
npm install @hrc/type-utils
import type { Simplify } from "@hrc/type-utils";
type MyType = {
a: number;
b: string;
};
type AnotherType = {
c: boolean;
d: number;
};
type FlattenedType = Simplify<MyType & AnotherType>;