/** * A helper type used to remove undefined keys from an interface * * For example: * * ``` * interface A { * foo: string; * bar: undefined; * } * * type B = DefinedProperties * ``` * * then B is: * ``` * { * foo: string; * } * ``` */ export type DefinedProperties = { [Property in keyof Type as Type[Property] extends undefined ? never : Property]: Type[Property]; }; //# sourceMappingURL=utils.d.ts.map