Commit ccbae35
committed
bug #265 Fix 'plugin' typehint on Encore.addPlugin (Blackskyliner)
This PR was merged into the master branch.
Discussion
----------
Fix 'plugin' typehint on Encore.addPlugin
The `plugin` parameter is described as `{string}` but in fact we want to have instances of a Webpack plugin here. So I think we should use `object` here, which reflects the fact that all examples and known usages use an object there...
Commits
-------
6d9525a Fix 'plugin' typehint on Encore.addPlugin1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments