-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
null/undefined are not acting as discriminators with object types #24479
Labels
Duplicate
An existing issue was already created
Comments
16 tasks
mhegazy
added
Suggestion
An idea for TypeScript
In Discussion
Not yet reached consensus
labels
May 30, 2018
4 tasks
Duplicate of #24193. |
DanielRosenwasser
added
Duplicate
An existing issue was already created
and removed
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
labels
Jun 10, 2018
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found after discussing this DefinitelyTyped issue: DefinitelyTyped/DefinitelyTyped#25731 (comment)
Expected: No error
Actual:
x.value
is possiblynull
.The text was updated successfully, but these errors were encountered: