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

14 lines
415 B
JSON

// === goToDefinition ===
// === /index.ts ===
// export class Foo {
// member: string;
// [|methodName|](propName: SomeType): void {}
// otherMethod() {
// if (Math.random() > 0.5) {
// return {x: 42};
// --- (line: 7) skipped ---
// === /mymodule.ts ===
// import * as mod from "./indexdef";
// const instance = new mod.Foo();
// instance./*GOTO DEF*/[|methodName|]({member: 12});