mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-23 16:44:59 +03:00
4 lines
230 B
TypeScript
4 lines
230 B
TypeScript
declare type Unpromisify<T> = T extends Promise<infer R> ? R : T;
|
|
export declare const _afterPluginsLoaded: <T extends (...args: any[]) => any>(fn: T) => (...args: Parameters<T>) => Promise<Unpromisify<ReturnType<T>>>;
|
|
export {};
|