TypeScript/tests/cases/fourslash/typeOfThisInStatics.ts

17 lines
318 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts'/>
////class C {
//// static foo() {
2014-10-07 20:30:27 +02:00
//// var /*1*/r = this;
2014-07-13 01:04:16 +02:00
//// }
//// static get x() {
2014-10-07 20:30:27 +02:00
//// var /*2*/r = this;
2014-07-13 01:04:16 +02:00
//// return 1;
//// }
////}
2016-09-09 18:02:55 +02:00
verify.quickInfos({
1: "(local var) r: typeof C",
2: "(local var) r: typeof C"
});