UNPKG

time-analytics-webpack-plugin

Version:
19 lines (18 loc) 900 B
/** * Add prefix "[time-analytics-webpack-plugin]: " prefix to all meesages */ export declare class ConsoleHelper { static log(message: string): void; static warn(message: string): void; private static getMessage; } export declare function fail(message?: string): never; export declare function failInDebug(message?: string): never; export declare function assert(expression: unknown, message?: string, verboseDebugInfo?: string | (() => string)): asserts expression; export declare function assertIsDefined<T>(value: T, message?: string): asserts value is NonNullable<T>; export declare function assertNever(member: never, message?: string): never; export declare function now(): number; /** * like `instanceof `, but not accurate. Judgement by the name of constructor. */ export declare function isConstructorNameInPrototypeChain(name: string, obj: any): boolean;