rollup-plugin-typescript2
Version:
Seamless integration between Rollup and TypeScript. Now with errors.
20 lines • 719 B
TypeScript
import { PluginContext } from "rollup";
export declare enum VerbosityLevel {
Error = 0,
Warning = 1,
Info = 2,
Debug = 3
}
/** cannot be used in options hook (which does not have this.warn and this.error), but can be in other hooks */
export declare class RollupContext {
private verbosity;
private bail;
private context;
private prefix;
constructor(verbosity: VerbosityLevel, bail: boolean, context: PluginContext, prefix?: string);
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void | never;
info(message: string | (() => string)): void;
debug(message: string | (() => string)): void;
}
//# sourceMappingURL=context.d.ts.map