2014-08-30 03:02:05 +02:00
|
|
|
/// <reference path='fourslash.ts'/>
|
|
|
|
|
|
|
|
////class sampleCls { constructor(str: string, num: number) { } }
|
|
|
|
////var x = new sampleCls(/*1*/"", /*2*/5);
|
|
|
|
|
|
|
|
goTo.marker('1');
|
|
|
|
verify.signatureHelpCountIs(1);
|
|
|
|
|
2014-11-19 20:55:05 +01:00
|
|
|
verify.currentSignatureParameterCountIs(2);
|
2014-08-30 03:02:05 +02:00
|
|
|
verify.currentSignatureHelpIs('sampleCls(str: string, num: number): sampleCls');
|
|
|
|
|
|
|
|
verify.currentParameterHelpArgumentNameIs('str');
|
|
|
|
verify.currentParameterSpanIs("str: string");
|
|
|
|
|
|
|
|
goTo.marker('2');
|
|
|
|
verify.currentParameterHelpArgumentNameIs('num');
|
|
|
|
verify.currentParameterSpanIs("num: number");
|