Adds another test around parsing jsdoc

This commit is contained in:
Orta Therox 2019-08-06 15:45:28 -04:00
parent 487e2ffe2a
commit 77cdca2971

View File

@ -12,6 +12,10 @@
//// */
////function bar() { }
////bar(''/*bar*/);
////
/////** @type {function(module:xxxx, module:xxxx): module:xxxxx} */
////function zee() { }
////zee(''/*zee*/);
verify.signatureHelp({
@ -29,3 +33,13 @@ verify.signatureHelp({
docComment: "",
tags: [],
});
verify.signatureHelp({
marker: "zee",
text: "zee(): any",
docComment: "",
tags: [
{ name: "type", text: "{function(module:xxxx, module:xxxx): module:xxxxx}" },
],
});