DefinitelyTyped/types/react-dev-utils/InterpolateHtmlPlugin.d.ts
Eric Wang 6127fb8e61
Add class property to html webpack plugin (#41831)
* Add class property to html webpack plugin

* .

* fix ci
2020-01-29 14:14:27 -08:00

12 lines
383 B
TypeScript

import webpack = require('webpack');
import HtmlWebpackPlugin = require('html-webpack-plugin');
/**
* This Webpack plugin lets us interpolate custom variables into `index.html`.
*/
declare class InterpolateHtmlPlugin extends webpack.Plugin {
constructor(htmlWebpackPlugin: typeof HtmlWebpackPlugin, replacements: { [key: string]: string });
}
export = InterpolateHtmlPlugin;