Skip to content

Commit

Permalink
add NormalModuleType inline
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLarkInn committed Jun 23, 2018
1 parent b337e2b commit 87589e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AutomaticPrefetchPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class AutomaticPrefetchPlugin {
compiler.hooks.afterCompile.tap("AutomaticPrefetchPlugin", compilation => {
lastModules = compilation.modules
.filter(m => m instanceof NormalModule)
.map(m => ({
.map((/** @type {NormalModule} */ m) => ({
context: m.context,
request: m.request
}));
Expand Down

0 comments on commit 87589e7

Please sign in to comment.