Skip to content

Commit

Permalink
Adds another test around parsing jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Aug 6, 2019
1 parent 487e2ff commit 77cdca2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
//// */
////function bar() { }
////bar(''/*bar*/);
////
/////** @type {function(module:xxxx, module:xxxx): module:xxxxx} */
////function zee() { }
////zee(''/*zee*/);


verify.signatureHelp({
Expand All @@ -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}" },
],
});

0 comments on commit 77cdca2

Please sign in to comment.