19 lines
521 B
TypeScript
19 lines
521 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// function f(templateStrings, x, y, z) { return 10; }
|
|
//// function g(templateStrings, x, y, z) { return ""; }
|
|
////
|
|
//// f ` ${ 123 } /*1*/${ } /*2*/\/*3*/
|
|
//// /*4*/\\/*5*/
|
|
//// /*6*/\\\/*7*/
|
|
//// /*8*/
|
|
|
|
verify.signatureHelp({
|
|
marker: test.markers(),
|
|
text: "f(templateStrings: any, x: any, y: any, z: any): number",
|
|
argumentCount: 3,
|
|
parameterCount: 4,
|
|
parameterName: "templateStrings",
|
|
parameterSpan: "templateStrings: any",
|
|
});
|