From 77cdca2971faedc0030f8860c812833549de2a48 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Tue, 6 Aug 2019 15:45:28 -0400 Subject: [PATCH] Adds another test around parsing jsdoc --- .../fourslash/jsDocDontBreakWithNamespaces.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts b/tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts index 5be2f3e7b6261..12899d23df38d 100644 --- a/tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts +++ b/tests/cases/fourslash/jsDocDontBreakWithNamespaces.ts @@ -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}" }, + ], +});