2016-08-22 22:57:40 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
// Should go to class declaration when invoked on a this type reference
|
|
|
|
|
2018-05-31 22:32:02 +02:00
|
|
|
//// class [|Bar|] extends Foo {
|
2016-08-22 22:57:40 +02:00
|
|
|
//// hello(): th/*this_type*/is {
|
|
|
|
//// return this;
|
|
|
|
//// }
|
2018-05-31 22:32:02 +02:00
|
|
|
//// }
|
2016-08-22 22:57:40 +02:00
|
|
|
|
2018-05-31 22:32:02 +02:00
|
|
|
verify.allRangesAppearInImplementationList("this_type");
|