mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
620 B
JSON
23 lines
620 B
JSON
// === goToSourceDefinition ===
|
|
// === /home/src/workspaces/project/node_modules/pkg/index.js ===
|
|
// <|export default class [|Widget|] {
|
|
// render() {}
|
|
// }|>
|
|
|
|
// === /home/src/workspaces/project/index.ts ===
|
|
// import Widget from "pkg";
|
|
// const w = new Widget/*GOTO SOURCE DEF*/("test");
|
|
// w.render();
|
|
|
|
|
|
|
|
// === goToSourceDefinition ===
|
|
// === /home/src/workspaces/project/node_modules/pkg/index.js ===
|
|
// export default class Widget {
|
|
// <|[|render|]() {}|>
|
|
// }
|
|
|
|
// === /home/src/workspaces/project/index.ts ===
|
|
// import Widget from "pkg";
|
|
// const w = new Widget("test");
|
|
// w./*GOTO SOURCE DEF*/render(); |