Utility types for TypeScript.
@esfx/type-model
The @esfx/type-model
package provides a number of utility types for TypeScript.
npm i @esfx/type-modelUsage
// TypeScript import { Diff } from "@esfx/type-model"; type A = { x: number, y: string }; type B = { x: number }; type C = Diff<A, B>; // { y: string }API
You can read more about the API here.