@istanbul/app
Version:
App package of istanbul framework
6 lines (5 loc) • 359 B
TypeScript
import { CorePluginCreator } from "../plugins";
export declare type ConstructorType<T, P = any> = new (params?: P) => T;
export declare function isPromise<T>(func: any): func is Promise<T>;
export declare const isConstructor: (obj: any) => obj is new (...args: any[]) => any;
export declare function isPluginCreator(plugin: any): plugin is CorePluginCreator;