mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
22 lines
801 B
TypeScript
22 lines
801 B
TypeScript
export interface IContext {
|
|
warn(message: string | (() => string), lastMessage?: boolean): void;
|
|
error(message: string | (() => string), lastMessage?: boolean): void;
|
|
info(message: string | (() => string)): void;
|
|
debug(message: string | (() => string)): void;
|
|
}
|
|
export declare enum VerbosityLevel {
|
|
Error = 0,
|
|
Warning = 1,
|
|
Info = 2,
|
|
Debug = 3
|
|
}
|
|
export declare class ConsoleContext implements IContext {
|
|
private verbosity;
|
|
private prefix;
|
|
constructor(verbosity: VerbosityLevel, prefix?: string);
|
|
warn(message: string | (() => string)): void;
|
|
error(message: string | (() => string)): void;
|
|
info(message: string | (() => string)): void;
|
|
debug(message: string | (() => string)): void;
|
|
}
|
|
//# sourceMappingURL=context.d.ts.map
|