ft_transcendence/pong/node_modules/tsconfig-paths-webpack-plugin/lib/options.d.ts
2023-05-02 19:15:50 +02:00

18 lines
590 B
TypeScript

export declare type LogLevel = "INFO" | "WARN" | "ERROR";
export interface Options {
readonly configFile: string;
readonly extensions: ReadonlyArray<string>;
readonly baseUrl: string | undefined;
readonly silent: boolean;
readonly logLevel: LogLevel;
readonly logInfoToStdOut: boolean;
readonly context: string | undefined;
readonly colors: boolean;
readonly mainFields: string[];
}
/**
* Takes raw options from the webpack config,
* validates them and adds defaults for missing options
*/
export declare function getOptions(rawOptions: {}): Options;