TypeScript/tests/cases/fourslash/quickInfoOnThis2.ts
Yui 72c19ec806 Fix 7304: show correct quickinfo on "this" in type position (#8508)
* Show correct quickinfo when using this in type position

* Split quickinfo test into smaller files and add test case
2016-05-07 09:12:53 -07:00

14 lines
No EOL
361 B
TypeScript

/// <reference path='fourslash.ts' />
////class Bar<T> {
//// public explicitThis(this: this) {
//// console.log(th/*1*/is);
//// }
//// public explicitClass(this: Bar<T>) {
//// console.log(thi/*2*/s);
//// }
////}
goTo.marker('1');
verify.quickInfoIs('this: this');
goTo.marker('2');
verify.quickInfoIs('this: Bar<T>');