Skip to content

Simplify

Transform an interface into a type to aide with assignability.

Usage

interface A {
a: number;
}
type B = Simplify<A>; // ^?{ a: number }

Installation

Terminal window
npx atmx add type simplify