Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #40019

We were confusing an export assigned class instance with that class's static, because we were using identity to check if the instance we have is the symbol's class instance type, and export assigned types get cloned (so they have have additional members augmented into them).

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Aug 13, 2020
@weswigham weswigham merged commit 155610e into microsoft:master Sep 5, 2020
@weswigham weswigham deleted the js-declaration-emit-assigned-exports branch September 5, 2020 09:23
@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

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Instance of class exported via module.exports exports the class in generated type definition file

3 participants