Skip to content

isExpandoFunctionDeclaration only checks values#27052

Merged
sandersn merged 1 commit into
masterfrom
fix-expando-merging-with-exported-types
Sep 12, 2018
Merged

isExpandoFunctionDeclaration only checks values#27052
sandersn merged 1 commit into
masterfrom
fix-expando-merging-with-exported-types

Conversation

@sandersn
Copy link
Copy Markdown
Member

Previously it checked types too, which caused a crash because types don't have valueDeclaration set. But expando functions can't export types, only values.

Fixes #27032

Previously it checked types too, which caused a crash because types
don't have valueDeclaration set. But expando functions can't export
types, only values.
@sandersn sandersn requested review from a user and weswigham September 12, 2018 18:33
@sandersn sandersn merged commit 2f8a646 into master Sep 12, 2018
@sandersn sandersn deleted the fix-expando-merging-with-exported-types branch September 12, 2018 19:21
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants