textlint
Version:
The pluggable linting tool for natural language.
18 lines • 601 B
TypeScript
/**
* Logger Utils class
* Use this instead of `console.log`
* Main purpose for helping linting.
*/
export declare class Logger {
static log(...message: unknown[]): void;
/**
* Write to stdout without appending a newline.
* Use this for formatter output where the trailing newline must match
* the original content (e.g. fixed-result with --stdin).
*/
static write(message: string): void;
static warn(...message: unknown[]): void;
static deprecate(message: string): void;
static error(...message: unknown[]): void;
}
//# sourceMappingURL=logger.d.ts.map