Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #5654.

Theoretically we could use this type guard to narrow void types out of unions, but our stance on #1806 was that that was undesirable.

@mhegazy
Copy link
Contributor

mhegazy commented Nov 13, 2015

👍

1 similar comment
@vladima
Copy link
Contributor

vladima commented Nov 13, 2015

👍

weswigham added a commit that referenced this pull request Nov 13, 2015
Ignore typeof x === "undefined" type guards when narrowing
@weswigham weswigham merged commit b144b5b into microsoft:master Nov 13, 2015
@weswigham weswigham deleted the undefined-type-guards branch August 17, 2017 23:04
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants