As described in this answer, there's a VSCode setting named "TypeScript: Prefer Go To Source Definition" (ID typescript.preferGoToSourceDefinition):
typescript.preferGoToSourceDefinition
See also this relevant issue comment and this other issue asking for it to be enabled by default.