mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
368 B
JSON
11 lines
368 B
JSON
// === goToSourceDefinition ===
|
|
// === /home/src/workspaces/project/node_modules/pkg/index.js ===
|
|
// <|export class [|Widget|] {}|>
|
|
// function factory() {
|
|
// class Widget { constructor() { this.local = true; } }
|
|
// return new Widget();
|
|
// }
|
|
|
|
// === /home/src/workspaces/project/index.ts ===
|
|
// import { /*GOTO SOURCE DEF*/Widget } from "pkg";
|
|
// new Widget(); |