Skip to content

Avoid returning type symbols for js configured projects#10654

Merged
zhengbli merged 6 commits into
microsoft:tsserverVS-WIPfrom
zhengbli:10606
Sep 1, 2016
Merged

Avoid returning type symbols for js configured projects#10654
zhengbli merged 6 commits into
microsoft:tsserverVS-WIPfrom
zhengbli:10606

Conversation

@zhengbli
Copy link
Copy Markdown

Fixes #10606

});
});

describe("nagivateTo for javascript project", () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

navigate

});
});

describe("nagivate for javascript project", () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

navigate

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Aha I misunderstood.
Time to find a spell check plugin ...

Comment thread src/server/project.ts Outdated
hasChanges = this.updateGraphWorker() || hasChanges;
}
if (hasChanges) {
this._isJsOnlyProject = allRootFilesAreJsOrDts(this);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

actually after thinking about it a bit more better places to invalidate the value will be addRoot and removeRoot - there we can set this._isJsOnlyProject to undefined and compute the value on demand when it is requested

@vladima
Copy link
Copy Markdown
Contributor

vladima commented Sep 1, 2016

👍

@zhengbli zhengbli merged commit a3cd7d8 into microsoft:tsserverVS-WIP Sep 1, 2016
@zhengbli zhengbli deleted the 10606 branch September 1, 2016 22:17
@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.

3 participants