Skip to content

Commit 77cdca2

Browse files
committed
Adds another test around parsing jsdoc
1 parent 487e2ff commit 77cdca2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
//// */
1313
////function bar() { }
1414
////bar(''/*bar*/);
15+
////
16+
/////** @type {function(module:xxxx, module:xxxx): module:xxxxx} */
17+
////function zee() { }
18+
////zee(''/*zee*/);
1519

1620

1721
verify.signatureHelp({
@@ -29,3 +33,13 @@ verify.signatureHelp({
2933
docComment: "",
3034
tags: [],
3135
});
36+
37+
38+
verify.signatureHelp({
39+
marker: "zee",
40+
text: "zee(): any",
41+
docComment: "",
42+
tags: [
43+
{ name: "type", text: "{function(module:xxxx, module:xxxx): module:xxxxx}" },
44+
],
45+
});

0 commit comments

Comments
 (0)