Go to implementation instead of TypeScript declaration

前端 未结 2 695
北海茫月
北海茫月 2020-12-15 04:46

When I click an imported variable while holding Cmd in VSCode, I often end up looking at the TypeScript declaration of that variable. Is there any way to have V

2条回答
  •  别那么骄傲
    2020-12-15 05:06

    Implementation is bundled and transpiled ro javascript and vscode is not able to take you there but instead of it will take you to interface. You can search for references in javascript file or you can clone or form the repo to see the implementation in typescript.

提交回复
热议问题