Skip to content
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 4.0 support #9577

Closed
levrik opened this issue Sep 1, 2020 · 1 comment
Closed

TypeScript 4.0 support #9577

levrik opened this issue Sep 1, 2020 · 1 comment

Comments

@levrik
Copy link
Contributor

levrik commented Sep 1, 2020

Describe the bug

I'm trying to use the new ??= syntax in TypeScript 4.0

This yields Line 53:3: Expected an assignment or function call and instead saw an expression @typescript-eslint/no-unused-expressions as error message.

When I'm silenting this ESLint warning I'm getting Module parse failed: Unexpected token (19:21) from Babel.

I've already tried upgrading all dependencies via yarn upgrade.

Looks like some manual work on create-react-app needs to be done to properly support these new language features.

@levrik
Copy link
Contributor Author

levrik commented Sep 2, 2020

The general upgrade seems to be tracked by #9515 already.
Will add my findings there.

@levrik levrik closed this as completed Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant