UNPKG

549 BTypeScriptView Raw
1export declare class Output {
2 log(...args: any): void;
3 warn(...args: any): void;
4 getErrorPrefix(fileName: string, type?: 'error' | 'warning'): string;
5}
6export declare class TestOutput {
7 output: string[];
8 constructor();
9 log(...args: any): void;
10 warn(...args: any): void;
11 getErrorPrefix(fileName: string, type?: 'error' | 'warning'): string;
12}
13export interface IOutput {
14 warn: (...args: any) => void;
15 log: (...args: any) => void;
16 getErrorPrefix: (fileName: string, type?: 'error' | 'warning') => string;
17}