logoalt Hacker News

agumonkeylast Sunday at 9:21 PM1 replyview on HN

could be a customizable behavior in editor/ide though


Replies

g947olast Sunday at 11:23 PM

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.