Skip to content

Visit typedef type expressions so they contribute to referenced-ness#23525

Merged
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:typedef-unused-marking
Apr 19, 2018
Merged

Visit typedef type expressions so they contribute to referenced-ness#23525
weswigham merged 1 commit into
microsoft:masterfrom
weswigham:typedef-unused-marking

Conversation

@weswigham
Copy link
Copy Markdown
Member

Fixes #23392

Comment thread src/compiler/checker.ts
}

if (node.name) {
checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't strictly part of the reported issue, but was conspicuously missing (normal type aliases do this).

@weswigham weswigham requested review from mhegazy and sandersn April 18, 2018 20:34
@weswigham weswigham merged commit 557a34e into microsoft:master Apr 19, 2018
@weswigham weswigham deleted the typedef-unused-marking branch April 19, 2018 17:28
@microsoft microsoft locked and limited conversation to collaborators Jul 30, 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.

2 participants