We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 should distinguish missing and undefined at the type level in order to distinguish the following two statements:
missing
undefined
// @strictNullChecks: true type A = { x?: string } let x: A = {} let y: A = { x: undefined } // should not be allowed, but currently is
The text was updated successfully, but these errors were encountered:
I believe this is a dupe of #13195
Sorry, something went wrong.
you are right. closing.
No branches or pull requests
Typescript should distinguish
missing
andundefined
at the type level in order to distinguish the following two statements:The text was updated successfully, but these errors were encountered: