mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
704 B
JSON
25 lines
704 B
JSON
// === goToSourceDefinition ===
|
|
// === /home/src/workspaces/project/node_modules/pkg/index.js ===
|
|
// <|export function [|helper|]() { return "ok"; }|>
|
|
// function unrelated() {
|
|
// const helper = "shadow";
|
|
// return helper;
|
|
// }
|
|
|
|
// === /home/src/workspaces/project/index.ts ===
|
|
// import { /*GOTO SOURCE DEF*/helper } from "pkg";
|
|
// helper();
|
|
|
|
|
|
|
|
// === goToSourceDefinition ===
|
|
// === /home/src/workspaces/project/node_modules/pkg/index.js ===
|
|
// <|export function [|helper|]() { return "ok"; }|>
|
|
// function unrelated() {
|
|
// const helper = "shadow";
|
|
// return helper;
|
|
// }
|
|
|
|
// === /home/src/workspaces/project/index.ts ===
|
|
// import { helper } from "pkg";
|
|
// helper/*GOTO SOURCE DEF*/(); |