mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
40 lines
845 B
JSON
40 lines
845 B
JSON
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations3.ts ===
|
|
// class testClass {
|
|
// static staticMethod() { }
|
|
// method() { }
|
|
// }
|
|
//
|
|
// module /*FIND ALL REFS*/[|testClass|] {
|
|
// export interface Bar {
|
|
//
|
|
// }
|
|
// }
|
|
//
|
|
// var c1: testClass;
|
|
// var c2: [|testClass|].Bar;
|
|
// testClass.staticMethod();
|
|
// testClass.prototype.method();
|
|
// testClass.bind(this);
|
|
// new testClass();
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForMergedDeclarations3.ts ===
|
|
// class /*FIND ALL REFS*/[|testClass|] {
|
|
// static staticMethod() { }
|
|
// method() { }
|
|
// }
|
|
// --- (line: 5) skipped ---
|
|
|
|
// --- (line: 8) skipped ---
|
|
// }
|
|
// }
|
|
//
|
|
// var c1: [|testClass|];
|
|
// var c2: testClass.Bar;
|
|
// [|testClass|].staticMethod();
|
|
// [|testClass|].prototype.method();
|
|
// [|testClass|].bind(this);
|
|
// new [|testClass|](); |