-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript 2.4 support #6827
Comments
There's an issue with Expect the CLI to upgrade its dependencies when things are stable again. Tracking: ReactiveX/rxjs#2539 |
@delasteve ...by which issue I was bitten today. And I thought about the following one: |
@moniuch cli already generates package with |
@delasteve @filipesilva RxJS 5.4.2 has now been published with the fix for Typescript 2.4.1 |
At least from my testing, if you upgrade rxjs to Just remember that you're upgrading at your own risk as I don't believe it has been fully tested &/or is supported at the moment. |
I think the referenced issue ReactiveX/rxjs#2539 is now fixed, so are there any plans now? |
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`. Instead, it: - removes the dependency restrictions on <2.3 - bumps related dependencies (`rxjs`, `ts-node`) to the minimum that supports 2.4 - builds the CLI itself using 2.4 So if you want to install ts 2.4 in your new project, the CLI itself won't stop you. Fix angular#6827
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`. Instead, it: - removes the dependency restrictions on <2.3 - bumps related dependencies to the minimum that supports 2.4 (`rxjs@^5.4.2`, `ts-node@~3.2.0`) - builds the CLI itself using 2.4 So if you want to install ts 2.4 in your new project, the CLI itself won't stop you. Fix angular#6827
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`. Instead, it: - removes the dependency restrictions on <2.3 - bumps related dependencies to the minimum that supports 2.4 (`rxjs@^5.4.2`, `ts-node@~3.2.0`) - builds the CLI itself using 2.4 So if you want to install ts 2.4 in your new project, the CLI itself won't stop you. Fix angular#6827
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`. Instead, it: - removes the dependency restrictions on <2.3 - bumps related dependencies to the minimum that supports 2.4 (`rxjs@^5.4.2`, `ts-node@~3.2.0`) - builds the CLI itself using 2.4 So if you want to install ts 2.4 in your new project, the CLI itself won't stop you. Fix #6827
So its now at version 2.4.2 and Angular is apparently now [compatible](angular/angular-cli#6827).
how to update my typescript to latest version ? |
* Pin typescript to 2.3.4 (was 2.4.0) Fixes warning on CLI -> angular/angular-cli#6827 * Pin angular to 4.4.4 * Pin angular/cli to 1.2.7 * Remove unused package ngx-bootstrap * Update yarn.lock file
So is it possible to use typescript >= 2.4 now? I have cli 1.4.6 and it still requires ts < 2.4 |
Try CLI 1.5+ |
@MarkPieszak tried it. I still get the same warning. |
* Pin angular to 4.4.4 * Pin angular/cli to 1.2.7 * Pin typescript to 2.3.4 (was 2.4.0) - fixes warning on CLI -> angular/angular-cli#6827 * Update yarn.lock file
This PR doesn't change new projects to use 2.4 since I have seen some reports of possible problems in `@angular/*`. Instead, it: - removes the dependency restrictions on <2.3 - bumps related dependencies to the minimum that supports 2.4 (`rxjs@^5.4.2`, `ts-node@~3.2.0`) - builds the CLI itself using 2.4 So if you want to install ts 2.4 in your new project, the CLI itself won't stop you. Fix angular#6827
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
1.1.3
Desired functionality.
Angular-cli should support typescript 2.4 (just released yesterday). Right now angular-cli is locked down to max v2.3
The text was updated successfully, but these errors were encountered: