/** * This module exports only type helpers for using it across the Cube project */ export type ResolveAwait = T extends { then(onfulfilled?: (value: infer U) => unknown): unknown; } ? U : T; export type Constructor = new (...args: any[]) => T; export type Required = { [X in Exclude]?: T[X]; } & { [P in K]-?: T[P]; }; export type Optional = Pick, K> & Omit; export type MethodName = { [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; }[keyof T]; //# sourceMappingURL=type-helpers.d.ts.map