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.5.2 errors with svelte-check #1246

Closed
frederikhors opened this issue Nov 18, 2021 · 3 comments
Closed

Typescript 4.5.2 errors with svelte-check #1246

frederikhors opened this issue Nov 18, 2021 · 3 comments
Labels
bug Something isn't working upstream

Comments

@frederikhors
Copy link
Contributor

Describe the bug

Upgrading from "typescript": "4.4.4" to "typescript": "4.5.2" I get many many errors in my code base using svelte-check --tsconfig ./tsconfig.json.

Do you know this?

@frederikhors frederikhors added the bug Something isn't working label Nov 18, 2021
@dummdidumm
Copy link
Member

dummdidumm commented Nov 18, 2021

This is an TypeScript issue, I created microsoft/TypeScript#46860 for that. I also created sveltejs/svelte#6937 which would solve this independently on our end. Don't use TS 4.5.x in the meantime.

@dummdidumm
Copy link
Member

This is fixed on our end through sveltejs/svelte#6937 . Update Svelte to the latest version and the errors should go away. Keeping this open for more visibility for others and while it's not fixed in TS itself as a reminder to wait a little before doing the next language tools release which would bumping the TS version.

@dummdidumm
Copy link
Member

This was fixed upstream in TS 4.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants