mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +08:00
39 lines
972 B
TypeScript
39 lines
972 B
TypeScript
interface IWebpackDevServerConfigurationOptions {
|
|
contentBase?: boolean | string | string[];
|
|
hot?: boolean;
|
|
historyApiFallback?: {[key: string]: any} | boolean;
|
|
compress?: boolean;
|
|
proxy?: {[key: string]: string};
|
|
staticOptions?: any;
|
|
quiet?: boolean;
|
|
noInfo?: boolean;
|
|
lazy?: boolean;
|
|
filename?: string;
|
|
watchOptions?: {
|
|
aggregateTimeout?: number;
|
|
poll?: number;
|
|
};
|
|
publicPath?: string;
|
|
headers?: { [key: string]: string };
|
|
stats?: { [key: string]: boolean } | string | boolean;
|
|
inline?: boolean;
|
|
https?: boolean;
|
|
key?: string;
|
|
cert?: string;
|
|
overlay?: boolean | { errors: boolean, warnings: boolean };
|
|
public?: string;
|
|
disableHostCheck?: boolean;
|
|
}
|
|
|
|
declare module 'yargs-parser' {
|
|
const parseOptions: any;
|
|
const yargsParser: <T = any>(args: string | string[], options?: parseOptions) => T;
|
|
export = yargsParser;
|
|
}
|
|
|
|
|
|
|
|
declare module 'opn' {
|
|
export default function(url: string, options?: any): Promise<any>;
|
|
}
|