-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
[Feature]: Enable TypeScript exactOptionalPropertyTypes
#1404
Comments
Hi @iamandrewluca ! Would love to hear what do you expect for this request ya? |
Hi, @zernonia. I will add more details to the task later today. The YT Video I linked explains why library authors would be better off having this enabled. |
But maybe we are not ready for this because of these two 🤔 |
@zernonia after reading the issues above decided to close for now, as it seems more of a problem in the upstream (vue/vue-tsc/volar) libraries |
Hey, @zernonia I created a PR in Vue, to add In the case of libraries, they also need to mark all their optional props with explicit We can probably reopen this issue. I intend to create PRs to implement this. |
Describe the feature
It would be great to have the TypeScript
exactOptionalPropertyTypes
option enabled.https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes
https://youtu.be/krj9KCxJ5OY
Additional information
The text was updated successfully, but these errors were encountered: