-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Use satisfies
operator
#7861
Use satisfies
operator
#7861
Conversation
🦋 Changeset detectedLatest commit: a22fb66 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Yeah, I caught that right as you did. I've updated this. Going to mark it as draft until VS Code supports TypeScript 4.9, but I think it's otherwise ready to go |
VS Code now supports TypeScript 4.9 and Mine just updated to include support for it |
The docs still convert this... ...into this when you opt into TypeScript mode: Ideally it would be |
Not that complex, but it's not going to be |
ah yeah, turned out it was actually very simple: #8001. unfortunately the site doesn't build with that change, hence separate branch rather than a commit to this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Giving this my approval, but a little hesitant to merge it just now. I'm not sure how fast/how many devs will have the latest VS Code version, so a good percentage could be confused by that not working in their editor.
I feel like we ought to wait until the docs are in sync anyway |
They are now, I merged your PR into this one |
oh! i totally missed that. nice. how long should we wait? I feel like VSCode updates probably propagate quite quickly, though I'm not sure if there's a way to check. Part of me thinks that a couple of questions in Discord/etc is a reasonable price to pay for smoother typechecking for people checking out 1.0 for the first time |
I think I would lean towards trying to get this in now because a bunch of people will be trying to write tutorials, post/answer StackOverflow questions, etc. and all that content will be using outdated syntax if we release 1.0 without this. Merging this now will cause more questions on Discord from people who haven't updated VS Code yet, but I think it's probably the lesser of two evils and just a temporary hiccup |
I'm watching this final race towards 1.0 🚀 |
updated the title. luckily I got the changeset right first time around |
sucrase, prettier, and eslint all support TypeScript 4.9 now. However, it looks like VS Code is still on 4.8.4