extract-text-webpack-plugin: Update .extract return type

As per https://github.com/webpack-contrib/extract-text-webpack-plugin/pull/343 the .extract() method of ExtractTextPlugin has a return type of 'Loader[]'
This commit is contained in:
Nathan Hardy
2017-05-19 10:21:05 +10:00
committed by GitHub
parent ec48aab17f
commit dc646cb5e2
+1 -1
View File
@@ -42,7 +42,7 @@ interface ExtractTextPlugin extends Plugin {
* Creates an extracting loader from an existing loader.
* Use the resulting loader in `module.rules`/`module.loaders`.
*/
extract: (loader: Loader | Loader[] | ExtractOptions) => Loader
extract: (loader: Loader | Loader[] | ExtractOptions) => Loader[]
}
declare const extractTextPlugin: ExtractTextPlugin