TypeScript/tests/cases/fourslash/goToDefinitionThis.ts

16 lines
396 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts'/>
////function f(/*fnDecl*/this: number) {
2017-10-19 00:49:46 +02:00
//// return [|/*fnUse*/this|];
////}
////class /*cls*/C {
2017-10-19 00:49:46 +02:00
//// constructor() { return [|/*clsUse*/this|]; }
//// get self(/*getterDecl*/this: number) { return [|/*getterUse*/this|]; }
////}
verify.goToDefinition({
"fnUse": "fnDecl",
"clsUse": "cls",
"getterUse": "getterDecl"
});