Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

could be a customizable behavior in editor/ide though


There is indeed an option in VSCode "typescript.preferGoToSourceDefinition" --

Prefer Go To Source Definition

Makes `Go to Definition` avoid type declaration files when possible by triggering `Go to Source Definition` instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: