mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
97 lines
1.6 KiB
JSON
97 lines
1.6 KiB
JSON
// === findAllReferences ===
|
|
// === /referencesForInheritedProperties.ts ===
|
|
// interface interface1 {
|
|
// /*FIND ALL REFS*/[|doStuff|](): void;
|
|
// }
|
|
//
|
|
// interface interface2 extends interface1{
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// class class1 implements interface2 {
|
|
// [|doStuff|]() {
|
|
//
|
|
// }
|
|
// }
|
|
//
|
|
// class class2 extends class1 {
|
|
//
|
|
// }
|
|
//
|
|
// var v: class2;
|
|
// v.[|doStuff|]();
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForInheritedProperties.ts ===
|
|
// interface interface1 {
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// interface interface2 extends interface1{
|
|
// /*FIND ALL REFS*/[|doStuff|](): void;
|
|
// }
|
|
//
|
|
// class class1 implements interface2 {
|
|
// [|doStuff|]() {
|
|
//
|
|
// }
|
|
// }
|
|
//
|
|
// class class2 extends class1 {
|
|
//
|
|
// }
|
|
//
|
|
// var v: class2;
|
|
// v.[|doStuff|]();
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForInheritedProperties.ts ===
|
|
// interface interface1 {
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// interface interface2 extends interface1{
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// class class1 implements interface2 {
|
|
// /*FIND ALL REFS*/[|doStuff|]() {
|
|
//
|
|
// }
|
|
// }
|
|
//
|
|
// class class2 extends class1 {
|
|
//
|
|
// }
|
|
//
|
|
// var v: class2;
|
|
// v.[|doStuff|]();
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForInheritedProperties.ts ===
|
|
// interface interface1 {
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// interface interface2 extends interface1{
|
|
// [|doStuff|](): void;
|
|
// }
|
|
//
|
|
// class class1 implements interface2 {
|
|
// [|doStuff|]() {
|
|
//
|
|
// }
|
|
// }
|
|
//
|
|
// class class2 extends class1 {
|
|
//
|
|
// }
|
|
//
|
|
// var v: class2;
|
|
// v./*FIND ALL REFS*/[|doStuff|](); |