Skip to content

avoid more useless type assertions#31239

Merged
weswigham merged 1 commit intomicrosoft:masterfrom
ajafff:more-useless-assertions
May 3, 2019
Merged

avoid more useless type assertions#31239
weswigham merged 1 commit intomicrosoft:masterfrom
ajafff:more-useless-assertions

Conversation

@ajafff
Copy link
Copy Markdown
Contributor

@ajafff ajafff commented May 3, 2019

Ref: #18217

This changes the public API of createPropertyAccess to no longer allow name to be undefined. Previously that was allowed but resulted in an invalid Node.

@weswigham weswigham merged commit 4ee0084 into microsoft:master May 3, 2019
@weswigham weswigham added the Breaking Change Would introduce errors in existing code label May 3, 2019
@weswigham
Copy link
Copy Markdown
Member

Technically this is a breaking API change, but I say we take it. An undefined value there was always suspect.

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Breaking Change Would introduce errors in existing code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants