UNPKG

piral-base

Version:

The base library for creating a Piral instance.

5 lines (4 loc) 319 B
export declare function isfunc(f: any): f is Function; export declare function callfunc<T extends (...args: Array<any>) => void>(f: T, ...args: Parameters<T>): void; export declare function promisify<T = void>(value?: T | PromiseLike<T>): Promise<Awaited<T>>; export declare function getBasePath(link: string): string;