16 lines
No EOL
635 B
TypeScript
16 lines
No EOL
635 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
//// function f(templateStrings, x, y, z) { return 10; }
|
|
//// function g(templateStrings, x, y, z) { return ""; }
|
|
////
|
|
//// f ` qwerty ${ 123 } asdf ${ 41234 } zxcvb ${ g `/*1*/ /*2*/ /*3*/` } `
|
|
|
|
goTo.eachMarker(() => {
|
|
verify.signatureHelpCountIs(1);
|
|
verify.signatureHelpArgumentCountIs(1);
|
|
|
|
verify.currentSignatureParameterCountIs(4);
|
|
verify.currentSignatureHelpIs('g(templateStrings: any, x: any, y: any, z: any): string');
|
|
verify.currentParameterHelpArgumentNameIs("templateStrings");
|
|
verify.currentParameterSpanIs("templateStrings: any");
|
|
}); |