mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
37 lines
624 B
JSON
37 lines
624 B
JSON
// === findAllReferences ===
|
|
// === /a.js ===
|
|
// class /*FIND ALL REFS*/[|A|] {
|
|
// constructor() { }
|
|
// }
|
|
// module.exports = [|A|];
|
|
|
|
// === /b.js ===
|
|
// const [|A|] = require("./a");
|
|
// new [|A|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /a.js ===
|
|
// class A {
|
|
// /*FIND ALL REFS*/[|constructor|]() { }
|
|
// }
|
|
// module.exports = A;
|
|
|
|
// === /b.js ===
|
|
// const A = require("./a");
|
|
// new [|A|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /b.js ===
|
|
// const /*FIND ALL REFS*/[|A|] = require("./a");
|
|
// new [|A|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /b.js ===
|
|
// const [|A|] = require("./a");
|
|
// new /*FIND ALL REFS*/[|A|]; |