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.
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.