mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user