Go to definition goes to lib.es6.d.ts
definition instead of local class
#12866
Labels
Design Limitation
Constraints of the existing architecture prevent this from being fixed
VS Code Tracked
There is a VS Code equivalent to this issue
From microsoft/vscode#17083
TypeScript Version: 2.1.4
Code
Trigger go to definition on
History
innew History()
Expected behavior:
TypeScript server returns definition result for the
History
class defined in this fileActual behavior:
Returns definition for
History
fromlib.es6.d.ts
instead.The text was updated successfully, but these errors were encountered: