2014-08-30 03:02:05 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
2018-05-15 21:34:53 +02:00
|
|
|
////class ConstructorCall {
|
2014-08-30 03:02:05 +02:00
|
|
|
//// constructor(str: string, num: number) {
|
|
|
|
//// }
|
|
|
|
////}
|
2015-03-02 23:41:44 +01:00
|
|
|
////var x = new ConstructorCall(/*constructorCall1*/1,/*constructorCall2*/2);
|
|
|
|
|
2018-05-15 21:34:53 +02:00
|
|
|
verify.signatureHelp(
|
|
|
|
{
|
|
|
|
marker: "constructorCall1",
|
|
|
|
text: "ConstructorCall(str: string, num: number): ConstructorCall",
|
|
|
|
parameterName: "str",
|
|
|
|
parameterSpan: "str: string",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
marker: "constructorCall2",
|
|
|
|
text: "ConstructorCall(str: string, num: number): ConstructorCall",
|
|
|
|
parameterName: "num",
|
|
|
|
parameterSpan: "num: number",
|
|
|
|
},
|
|
|
|
);
|