UNPKG

@koyofinance/react-query-typechain

Version:
5 lines 244 B
/** * Gets the data type for the return value of a promise */ export declare type Unpacked<T> = T extends (infer U)[] ? U : T extends (...args: any[]) => infer U ? U : T extends Promise<infer U> ? U : T; //# sourceMappingURL=Unpacked.d.ts.map