Skip to content

Commit 1511c2e

Browse files
author
Andy
authored
Merge pull request microsoft#15593 from Microsoft/jsdoctagnames
Deduplicate jsDocTagNames and sort alphabetically
2 parents 96aca4c + 705774e commit 1511c2e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/services/jsDoc.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ namespace ts.JsDoc {
2828
"namespace",
2929
"param",
3030
"private",
31+
"prop",
3132
"property",
3233
"public",
3334
"requires",
@@ -38,8 +39,6 @@ namespace ts.JsDoc {
3839
"throws",
3940
"type",
4041
"typedef",
41-
"property",
42-
"prop",
4342
"version"
4443
];
4544
let jsDocTagNameCompletionEntries: CompletionEntry[];

tests/cases/fourslash/completionInJsDoc.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,18 @@ goTo.marker('8');
8484
verify.completionListContains('number');
8585

8686
goTo.marker('9');
87-
verify.completionListCount(40);
8887
verify.completionListContains("@argument");
8988

9089
goTo.marker('10');
91-
verify.completionListCount(40);
9290
verify.completionListContains("@returns");
9391

9492
goTo.marker('11');
95-
verify.completionListCount(40);
9693
verify.completionListContains("@argument");
9794

9895
goTo.marker('12');
99-
verify.completionListCount(40);
10096
verify.completionListContains("@constructor");
10197

10298
goTo.marker('13');
103-
verify.completionListCount(40);
10499
verify.completionListContains("@param");
105100

106101
goTo.marker('14');

0 commit comments

Comments
 (0)