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"]]);
|