File size: 423 Bytes
e4a10af
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { Options } from ".";
import { ErrorBuffer } from "./util/errors";
export default class Context {
    options: Options;
    static from(contextOrOptions: Context | Options): Context;
    constructor(options: Options);
    resolvePath(path: string): string;
    nonFatalError(error: Error, errorBuffer?: ErrorBuffer): void;
    warning(error: Error, errorBuffer?: ErrorBuffer): void;
    readonly canWarn: boolean;
}