Skip to content

Commit

Permalink
Some type fixes using JSDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen Azimi authored and sokra committed Apr 12, 2018
1 parent d00d44c commit 5bb5af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/EvalSourceMapDevToolModuleTemplatePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class EvalSourceMapDevToolModuleTemplatePlugin {
return source;
}

/** @type {{ [key: string]: any; }} */
let sourceMap;
let content;
if (source.sourceAndMap) {
Expand Down
1 change: 1 addition & 0 deletions lib/HotModuleReplacement.runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ module.exports = function() {
moduleId: id
};
}
/** @type {Error|false} */
var abortError = false;
var doApply = false;
var doDispose = false;
Expand Down

0 comments on commit 5bb5af6

Please sign in to comment.