mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
49 lines
888 B
JSON
49 lines
888 B
JSON
// === findAllReferences ===
|
|
// === /referencesForIndexProperty.ts ===
|
|
// class Foo {
|
|
// /*FIND ALL REFS*/[|property|]: number;
|
|
// method(): void { }
|
|
// }
|
|
//
|
|
// var f: Foo;
|
|
// f["[|property|]"];
|
|
// f["method"];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForIndexProperty.ts ===
|
|
// class Foo {
|
|
// property: number;
|
|
// /*FIND ALL REFS*/[|method|](): void { }
|
|
// }
|
|
//
|
|
// var f: Foo;
|
|
// f["property"];
|
|
// f["[|method|]"];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForIndexProperty.ts ===
|
|
// class Foo {
|
|
// [|property|]: number;
|
|
// method(): void { }
|
|
// }
|
|
//
|
|
// var f: Foo;
|
|
// f["/*FIND ALL REFS*/[|property|]"];
|
|
// f["method"];
|
|
|
|
|
|
|
|
// === findAllReferences ===
|
|
// === /referencesForIndexProperty.ts ===
|
|
// class Foo {
|
|
// property: number;
|
|
// [|method|](): void { }
|
|
// }
|
|
//
|
|
// var f: Foo;
|
|
// f["property"];
|
|
// f["/*FIND ALL REFS*/[|method|]"]; |