mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- using rollup's own types - min rollup bumped to 0.68 - updating dependencies - package version 0.19
22 lines
755 B
TypeScript
22 lines
755 B
TypeScript
export interface IContext {
|
|
warn(message: string | (() => string)): void;
|
|
error(message: string | (() => string)): 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
|