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