Skip to content

Fix for issue 1876: noImplicitAny means make them explicite#1892

Merged
hansl merged 2 commits intoangular:masterfrom
catull:fix-issue-1876-no-implicit-any
Aug 31, 2016
Merged

Fix for issue 1876: noImplicitAny means make them explicite#1892
hansl merged 2 commits intoangular:masterfrom
catull:fix-issue-1876-no-implicit-any

Conversation

@catull
Copy link
Copy Markdown
Contributor

@catull catull commented Aug 30, 2016

npm run build has the TypeScript compiler configured to not allow implicit any references.
A build fails currently with - see issue #1876.

npm run build

> angular-cli@1.0.0-beta.11-webpack.8 build angular-cli.git
> npm-run-all -c build:main build:packages


> angular-cli@1.0.0-beta.11-webpack.8 build:main angular-cli.git
> tsc -p addon/ng2

addon/ng2/commands/init.ts(58,9): error TS7005: Variable 'gitInit' implicitly has an 'any' type.
addon/ng2/commands/init.ts(66,9): error TS7005: Variable 'linkCli' implicitly has an 'any' type.
addon/ng2/commands/init.ts(75,9): error TS7005: Variable 'npmInstall' implicitly has an 'any' type.
addon/ng2/commands/init.ts(84,9): error TS7005: Variable 'bowerInstall' implicitly has an 'any' type.

This PR fixes the compilation errors.

@hansl hansl merged commit 71670ae into angular:master Aug 31, 2016
@catull catull deleted the fix-issue-1876-no-implicit-any branch August 31, 2016 06:11
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants