Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not add 'this' type for classes that considered safe (use 'this' only in property\element access expressions) #7474

Closed
wants to merge 2 commits into from

Conversation

vladima
Copy link
Contributor

@vladima vladima commented Mar 11, 2016

fixes a set of perf issues mostly uncovered by rxjs

return true;
}
for (const node of nodes) {
if (!isIndependentHeritageClauseElement(node, /*classSymbol*/ undefined)) {
Copy link
Member

Choose a reason for hiding this comment

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

Might be worth merging in Ron's every from the transforms branch and making classSymbol optional so you can just say

return !nodes || !every(nodes, isIndependentHeritageClauseElement)

@mhegazy
Copy link
Contributor

mhegazy commented Sep 13, 2016

@vladima, can you update this change and merge it in?

@mhegazy
Copy link
Contributor

mhegazy commented Dec 30, 2016

@vladima can you update this change?

@mhegazy
Copy link
Contributor

mhegazy commented May 22, 2017

Thanks for your contribution. This PR has failing CI tests and can not be merged in at the time being. For housekeeping purposes we are closing stale PRs. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the master branch.

@mhegazy mhegazy closed this May 22, 2017
@mhegazy mhegazy deleted the limitThisTypes branch November 2, 2017 21:05
@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