-
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
Optional chaining and nullish coalescing not working anymore #17506
Comments
Hi @linjie997, I download the StackBlitz project and tried to run locally. I wasn't able to reproduce the error. Seems to me that StackBlitz might be using a TypeScript version which is different from the one specified in the Mind opening an issue here: https://github.com/stackblitz/core/issues Thanks. |
@linjie997 |
Hi, first of all thank you for your fast responses. Second, I was facing the same issue locally on another project. At the end of the day, I deleted the whole project folder, fresh cloned from my git repository and it's working correctly. I guess there was something "dirty" with my node modules which caused this issue. |
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
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 9.1.0
Description
After upgrading from 9.1.0 to 9.1.1, optional chaining and nullish coalescing are not working anymore.
At a first glance it looks like a downgrade of typescript version?
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-bt9hvm
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
May related to #17320.
From my understanding, Angular still uses typescript 3.7+ (from this comment), so this should be working.
The text was updated successfully, but these errors were encountered: