2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////interface MyPoint {
|
|
|
|
//// x1: number;
|
|
|
|
//// y1: number;
|
|
|
|
////}
|
|
|
|
////
|
|
|
|
////function foo(a: (e: MyPoint) => string) { }
|
|
|
|
////foo((e) => {
|
|
|
|
//// e./*1*/
|
|
|
|
////} );
|
|
|
|
////
|
|
|
|
////class test {
|
|
|
|
//// constructor(a: (e: MyPoint) => string) { }
|
|
|
|
////}
|
|
|
|
////var t = new test((e) => {
|
|
|
|
//// e./*2*/
|
|
|
|
////} );
|
|
|
|
|
2018-10-29 18:03:25 +01:00
|
|
|
verify.completions({ marker: ["1", "2"], exact: ["x1", "y1"] });
|