[X] Bug report
ng serve with TypeScript 2.6 and Angular 5.2 warns with:
```@angular/[email protected] requires typescript@'>=2.4.2 <2.6.0' but 2.6.2 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.
Please run the following command to install a compatible version of TypeScript.
npm install typescript@'>=2.4.2 <2.6.0'
To disable this warning run "ng set warnings.typescriptMismatch=false".
```
No warning
ng new my-project
Update to TypeScript@latest and angular@latest
ng serve
Angular CLI: 1.6.3
Node: 8.4.0
OS: linux x64
Angular: 5.2.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker
@angular/cdk: 5.0.4
@angular/cli: 1.6.3
@angular/material: 5.0.4
@angular-devkit/build-optimizer: 0.0.36
@angular-devkit/core: 0.0.22
@angular-devkit/schematics: 0.0.42
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.3
@schematics/angular: 0.1.11
typescript: 2.6.2
webpack: 3.10.0
fixed by https://github.com/angular/angular-cli/pull/9097
We should try to be more proactive about these changes
ng serve for 5.2.10 shows warning for typescript 2.7.2 and up.
I am current using typescript 2.8.3.
@deiyanfott still using with warnings or you downgraded typescript?
@Janatbek reverted back to 2.6.2 for now. I guess this will be fixed in Angular 6.
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._
Most helpful comment
fixed by https://github.com/angular/angular-cli/pull/9097
We should try to be more proactive about these changes