2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts"/>
|
|
|
|
|
|
|
|
////declare var /*1*/f: (x: number) => number;
|
|
|
|
////function baz() {
|
|
|
|
//// var x = /*2*/f(3);
|
|
|
|
//// /*3*/f(3);
|
|
|
|
////}
|
|
|
|
|
2014-10-06 23:24:58 +02:00
|
|
|
[1, 2, 3].forEach((val) => {
|
2014-07-13 01:04:16 +02:00
|
|
|
goTo.marker("" + val);
|
2014-10-06 23:24:58 +02:00
|
|
|
verify.quickInfoIs("(var) f: (x: number) => number", "");
|
2014-07-13 01:04:16 +02:00
|
|
|
} );
|