mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
325 lines
5.8 KiB
JSON
325 lines
5.8 KiB
JSON
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { I } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function /*FIND ALL REFS*/[|FA|]();
|
|
// }
|
|
// }
|
|
//
|
|
// --- (line: 10) skipped ---
|
|
|
|
// --- (line: 13) skipped ---
|
|
// }
|
|
//
|
|
// const ia: I = {
|
|
// FA: NS.[|FA|],
|
|
// FC() { },
|
|
// };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface /*FIND ALL REFS*/[|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface [|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/c/index.ts ===
|
|
// export namespace NS {
|
|
// export function FC() {}
|
|
// }
|
|
//
|
|
// export interface [|I|] {
|
|
// FC();
|
|
// }
|
|
//
|
|
// const ic: [|I|] = { FC() {} };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// --- (line: 8) skipped ---
|
|
//
|
|
// declare module "../c" {
|
|
// export interface I {
|
|
// /*FIND ALL REFS*/[|FA|]();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: I = {
|
|
// [|FA|]: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { I } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function /*FIND ALL REFS*/[|FA|]();
|
|
// }
|
|
// }
|
|
//
|
|
// --- (line: 10) skipped ---
|
|
|
|
// --- (line: 13) skipped ---
|
|
// }
|
|
//
|
|
// const ia: I = {
|
|
// FA: NS.[|FA|],
|
|
// FC() { },
|
|
// };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface [|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface /*FIND ALL REFS*/[|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/c/index.ts ===
|
|
// export namespace NS {
|
|
// export function FC() {}
|
|
// }
|
|
//
|
|
// export interface [|I|] {
|
|
// FC();
|
|
// }
|
|
//
|
|
// const ic: [|I|] = { FC() {} };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// --- (line: 8) skipped ---
|
|
//
|
|
// declare module "../c" {
|
|
// export interface I {
|
|
// /*FIND ALL REFS*/[|FA|]();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: I = {
|
|
// [|FA|]: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/b/index.ts ===
|
|
// export namespace NS {
|
|
// export function /*FIND ALL REFS*/[|FB|]() {}
|
|
// }
|
|
//
|
|
// export interface I {
|
|
// --- (line: 6) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/b/index.ts ===
|
|
// export namespace NS {
|
|
// export function FB() {}
|
|
// }
|
|
//
|
|
// export interface /*FIND ALL REFS*/[|I|] {
|
|
// FB();
|
|
// }
|
|
//
|
|
// const ib: [|I|] = { FB() {} };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/b/index.ts ===
|
|
// export namespace NS {
|
|
// export function FB() {}
|
|
// }
|
|
//
|
|
// export interface I {
|
|
// /*FIND ALL REFS*/[|FB|]();
|
|
// }
|
|
//
|
|
// const ib: I = { [|FB|]() {} };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/c/index.ts ===
|
|
// export namespace NS {
|
|
// export function /*FIND ALL REFS*/[|FC|]() {}
|
|
// }
|
|
//
|
|
// export interface I {
|
|
// --- (line: 6) skipped ---
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface [|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// import { NS } from "../b";
|
|
// import { [|I|] } from "../c";
|
|
//
|
|
// declare module "../b" {
|
|
// export namespace NS {
|
|
// export function FA();
|
|
// }
|
|
// }
|
|
//
|
|
// declare module "../c" {
|
|
// export interface [|I|] {
|
|
// FA();
|
|
// }
|
|
// }
|
|
//
|
|
// const ia: [|I|] = {
|
|
// FA: NS.FA,
|
|
// FC() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/c/index.ts ===
|
|
// export namespace NS {
|
|
// export function FC() {}
|
|
// }
|
|
//
|
|
// export interface /*FIND ALL REFS*/[|I|] {
|
|
// FC();
|
|
// }
|
|
//
|
|
// const ic: [|I|] = { FC() {} };
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /home/src/workspaces/project/a/index.ts ===
|
|
// --- (line: 14) skipped ---
|
|
//
|
|
// const ia: I = {
|
|
// FA: NS.FA,
|
|
// [|FC|]() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/a2/index.ts ===
|
|
// --- (line: 14) skipped ---
|
|
//
|
|
// const ia: I = {
|
|
// FA: NS.FA,
|
|
// [|FC|]() { },
|
|
// };
|
|
|
|
// === /home/src/workspaces/project/c/index.ts ===
|
|
// export namespace NS {
|
|
// export function FC() {}
|
|
// }
|
|
//
|
|
// export interface I {
|
|
// /*FIND ALL REFS*/[|FC|]();
|
|
// }
|
|
//
|
|
// const ic: I = { [|FC|]() {} }; |