Skip to content

Commit 71670ae

Browse files
catullhansl
authored andcommitted
Fix for issue 1876: noImplicitAny means make them explicite (#1892)
1 parent 0d9d646 commit 71670ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

addon/ng2/commands/init.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ const InitCommand: any = Command.extend({
5555

5656
// needs an explicit check in case it's just 'undefined'
5757
// due to passing of options from 'new' and 'addon'
58-
let gitInit;
58+
let gitInit: any;
5959
if (commandOptions.skipGit === false) {
6060
gitInit = new GitInit({
6161
ui: this.ui,
6262
project: this.project
6363
});
6464
}
6565

66-
let linkCli;
66+
let linkCli: any;
6767
if (commandOptions.linkCli) {
6868
linkCli = new LinkCli({
6969
ui: this.ui,
@@ -72,7 +72,7 @@ const InitCommand: any = Command.extend({
7272
});
7373
}
7474

75-
let npmInstall;
75+
let npmInstall: any;
7676
if (!commandOptions.skipNpm) {
7777
npmInstall = new NpmInstall({
7878
ui: this.ui,
@@ -81,7 +81,7 @@ const InitCommand: any = Command.extend({
8181
});
8282
}
8383

84-
let bowerInstall;
84+
let bowerInstall: any;
8585
if (!commandOptions.skipBower) {
8686
bowerInstall = new this.tasks.BowerInstall({
8787
ui: this.ui,

0 commit comments

Comments
 (0)