2014-11-21 02:54:46 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
//// function f(templateStrings: string[], p1_o1: string): number;
|
|
|
|
//// function f(templateStrings: string[], p1_o2: number, p2_o2: number, p3_o2: number): string;
|
|
|
|
//// function f(templateStrings: string[], p1_o3: string, p2_o3: boolean, p3_o3: number): boolean;
|
|
|
|
//// function f(...foo[]: any) { return ""; }
|
2017-01-18 22:55:31 +01:00
|
|
|
////
|
|
|
|
//// f `${/*1*/ /*2*/ /*3*/} ${
|
2014-11-21 02:54:46 +01:00
|
|
|
|
2018-05-15 21:34:53 +02:00
|
|
|
verify.signatureHelp({
|
2018-10-29 18:03:25 +01:00
|
|
|
marker: test.markers(),
|
2018-05-15 21:34:53 +02:00
|
|
|
overloadsCount: 3,
|
|
|
|
text: "f(templateStrings: string[], p1_o2: number, p2_o2: number, p3_o2: number): string",
|
|
|
|
argumentCount: 3,
|
|
|
|
parameterCount: 4,
|
|
|
|
parameterName: "p1_o2",
|
|
|
|
parameterSpan: "p1_o2: number",
|
|
|
|
});
|