Files
tsgo/testdata/baselines/reference/submodule/fourslash/goToDefinition/declarationMapsGoToDefinitionSameNameDifferentDirectory.baseline.jsonc

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 ---