TypeScript/tests/cases/fourslash/restParamsContextuallyTyped.ts

11 lines
305 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
////var foo: Function = function (/*1*/a, /*2*/b, /*3*/c) { };
goTo.marker('1');
2014-10-07 20:30:27 +02:00
verify.quickInfoIs('(parameter) a: any', "");
2014-07-13 01:04:16 +02:00
goTo.marker('2');
2014-10-07 20:30:27 +02:00
verify.quickInfoIs('(parameter) b: any', "");
2014-07-13 01:04:16 +02:00
goTo.marker('3');
2014-10-07 20:30:27 +02:00
verify.quickInfoIs('(parameter) c: any', "");