We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24afc2 commit 0938749Copy full SHA for 0938749
tests/cases/fourslash/syntacticClassificationsDocComment4.ts
@@ -0,0 +1,24 @@
1
+/// <reference path="fourslash.ts"/>
2
+
3
+//// /** @param {number} p1 */
4
+//// function foo(p1) {}
5
6
+var c = classification;
7
+verify.syntacticClassificationsAre(
8
+ c.comment("/** "),
9
+ c.punctuation("@"),
10
+ c.docCommentTagName("param"),
11
+ c.comment(" "),
12
+ c.punctuation("{"),
13
+ c.keyword("number"),
14
+ c.punctuation("}"),
15
16
+ c.parameterName("p1"),
17
+ c.comment(" */"),
18
+ c.keyword("function"),
19
+ c.identifier("foo"),
20
+ c.punctuation("("),
21
22
+ c.punctuation(")"),
23
24
+ c.punctuation("}"));
0 commit comments