TypeScript/tests/cases/fourslash/gotoDefinitionPropertyAccessExpressionHeritageClause.ts

10 lines
267 B
TypeScript
Raw Normal View History

2017-03-16 21:39:30 +01:00
/// <reference path='fourslash.ts' />
//// class B {}
//// function foo() {
//// return {/*refB*/B: B};
//// }
2017-10-19 00:49:46 +02:00
//// class C extends (foo()).[|/*B*/B|] {}
//// class C1 extends foo().[|/*B1*/B|] {}
2017-03-16 21:39:30 +01:00
verify.goToDefinition([["B", "refB"], ["B1", "refB"]]);