Skip to content

Commit

Permalink
extract-text-webpack-plugin: Update .extract return type
Browse files Browse the repository at this point in the history
As per webpack-contrib/extract-text-webpack-plugin#343 the .extract() method of ExtractTextPlugin has a return type of 'Loader[]'
  • Loading branch information
nhardy authored May 19, 2017
1 parent ec48aab commit dc646cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/extract-text-webpack-plugin/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc646cb

Please sign in to comment.