mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
// === goToDefinition ===
|
|
// === /BaseClass/Source.ts ===
|
|
// class [|Control|]{
|
|
// constructor(){
|
|
// return;
|
|
// }
|
|
// --- (line: 5) skipped ---
|
|
|
|
// === /buttonClass/Source.ts ===
|
|
// // I cannot F12 navigate to Control
|
|
// // vvvvvvv
|
|
// class Button extends /*GOTO DEF*/[|Control|] {
|
|
// public myFunction() {
|
|
// // I cannot F12 navigate to myVar
|
|
// // vvvvv
|
|
// --- (line: 7) skipped ---
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /BaseClass/Source.ts ===
|
|
// class Control{
|
|
// constructor(){
|
|
// return;
|
|
// }
|
|
// /** this is a super var */
|
|
// public [|myVar|]: boolean | 'yeah' = true;
|
|
// }
|
|
|
|
// === /buttonClass/Source.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// public myFunction() {
|
|
// // I cannot F12 navigate to myVar
|
|
// // vvvvv
|
|
// if (typeof this./*GOTO DEF*/[|myVar|] === 'boolean') {
|
|
// this.myVar;
|
|
// } else {
|
|
// this.myVar.toLocaleUpperCase();
|
|
// --- (line: 11) skipped --- |