2016-10-17 18:12:15 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
////interface A {
|
|
|
|
//// a: string;
|
|
|
|
////}
|
|
|
|
////declare function ctx(callback: (this: A) => string): string;
|
|
|
|
////ctx(function () { return th/*1*/is./*2*/a });
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.quickInfoAt("1", "this: A");
|
|
|
|
verify.completions({ marker: "2", exact: { name: "a", text: "(property) A.a: string" } });
|