Skip to content

Commit 620116f

Browse files
committed
Revert "Fix #1: Generated code produces errors when "noImplicitAny": true is used"
This reverts commit ad8c21f.
1 parent ad8c21f commit 620116f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@ function Angular2HMRLoader(source, sourcemap) {
3535
}
3636

3737
return boot + '(' + ngmodule + ')' +
38-
'.then(function(MODULE_REF: any) {'+ newLine +
38+
'.then(function(MODULE_REF) {'+ newLine +
3939
' if (module["hot"]) {'+ newLine +
4040
' module["hot"]["accept"]();'+ newLine +
4141
' '+ newLine +
4242
' if (MODULE_REF.instance["hmrOnInit"]) {'+ newLine +
4343
' module["hot"]["data"] && MODULE_REF.instance["hmrOnInit"](module["hot"]["data"]);'+ newLine +
4444
' }'+ newLine +
4545
' if (MODULE_REF.instance["hmrOnStatus"]) {'+ newLine +
46-
' module["hot"]["apply"](function(status: any) {'+ newLine +
46+
' module["hot"]["apply"](function(status) {'+ newLine +
4747
' MODULE_REF.instance["hmrOnStatus"](status);'+ newLine +
4848
' });'+ newLine +
4949
' }'+ newLine +
5050
' if (MODULE_REF.instance["hmrOnCheck"]) {'+ newLine +
51-
' module["hot"]["check"](function(err: any, outdatedModules: any) {'+ newLine +
51+
' module["hot"]["check"](function(err, outdatedModules) {'+ newLine +
5252
' MODULE_REF.instance["hmrOnCheck"](err, outdatedModules);'+ newLine +
5353
' });'+ newLine +
5454
' }'+ newLine +
5555
' if (MODULE_REF.instance["hmrOnDecline"]) {'+ newLine +
56-
' module["hot"]["decline"](function(dependencies: any) {'+ newLine +
56+
' module["hot"]["decline"](function(dependencies) {'+ newLine +
5757
' MODULE_REF.instance["hmrOnDecline"](dependencies);'+ newLine +
5858
' });'+ newLine +
5959
' }'+ newLine +
60-
' module["hot"]["dispose"](function(store: any) {'+ newLine +
60+
' module["hot"]["dispose"](function(store) {'+ newLine +
6161
' MODULE_REF.instance["hmrOnDestroy"] && MODULE_REF.instance["hmrOnDestroy"](store);'+ newLine +
6262
' MODULE_REF.destroy();'+ newLine +
6363
' MODULE_REF.instance["hmrAfterDestroy"] && MODULE_REF.instance["hmrAfterDestroy"](store);'+ newLine +

0 commit comments

Comments
 (0)