mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations7.ts ===
|
|
// interface Foo { }
|
|
// namespace Foo {
|
|
// export interface /*FIND ALL REFS*/[|Bar|] { }
|
|
// export module Bar { export interface Baz { } }
|
|
// export function Bar() { }
|
|
// }
|
|
//
|
|
// // module, value and type
|
|
// import a2 = Foo.[|Bar|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations7.ts ===
|
|
// interface Foo { }
|
|
// namespace Foo {
|
|
// export interface Bar { }
|
|
// export module /*FIND ALL REFS*/[|Bar|] { export interface Baz { } }
|
|
// export function Bar() { }
|
|
// }
|
|
//
|
|
// // module, value and type
|
|
// import a2 = Foo.[|Bar|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations7.ts ===
|
|
// interface Foo { }
|
|
// namespace Foo {
|
|
// export interface Bar { }
|
|
// export module Bar { export interface Baz { } }
|
|
// export function /*FIND ALL REFS*/[|Bar|]() { }
|
|
// }
|
|
//
|
|
// // module, value and type
|
|
// import a2 = Foo.[|Bar|];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations7.ts ===
|
|
// interface Foo { }
|
|
// namespace Foo {
|
|
// export interface [|Bar|] { }
|
|
// export module [|Bar|] { export interface Baz { } }
|
|
// export function [|Bar|]() { }
|
|
// }
|
|
//
|
|
// // module, value and type
|
|
// import a2 = Foo./*FIND ALL REFS*/[|Bar|]; |