19 lines
652 B
TypeScript
19 lines
652 B
TypeScript
/// <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 ""; }
|
|
////
|
|
//// f `${/*1*/ /*2*/ /*3*/
|
|
|
|
verify.signatureHelp({
|
|
marker: test.markers(),
|
|
overloadsCount: 3,
|
|
text: "f(templateStrings: string[], p1_o1: string): number",
|
|
argumentCount: 2,
|
|
parameterCount: 2,
|
|
parameterName: "p1_o1",
|
|
parameterSpan: "p1_o1: string",
|
|
});
|