Merge pull request #15593 from Microsoft/jsdoctagnames
Deduplicate jsDocTagNames and sort alphabetically
This commit is contained in:
commit
1511c2eda7
2 changed files with 1 additions and 7 deletions
|
@ -28,6 +28,7 @@ namespace ts.JsDoc {
|
|||
"namespace",
|
||||
"param",
|
||||
"private",
|
||||
"prop",
|
||||
"property",
|
||||
"public",
|
||||
"requires",
|
||||
|
@ -38,8 +39,6 @@ namespace ts.JsDoc {
|
|||
"throws",
|
||||
"type",
|
||||
"typedef",
|
||||
"property",
|
||||
"prop",
|
||||
"version"
|
||||
];
|
||||
let jsDocTagNameCompletionEntries: CompletionEntry[];
|
||||
|
|
|
@ -84,23 +84,18 @@ goTo.marker('8');
|
|||
verify.completionListContains('number');
|
||||
|
||||
goTo.marker('9');
|
||||
verify.completionListCount(40);
|
||||
verify.completionListContains("@argument");
|
||||
|
||||
goTo.marker('10');
|
||||
verify.completionListCount(40);
|
||||
verify.completionListContains("@returns");
|
||||
|
||||
goTo.marker('11');
|
||||
verify.completionListCount(40);
|
||||
verify.completionListContains("@argument");
|
||||
|
||||
goTo.marker('12');
|
||||
verify.completionListCount(40);
|
||||
verify.completionListContains("@constructor");
|
||||
|
||||
goTo.marker('13');
|
||||
verify.completionListCount(40);
|
||||
verify.completionListContains("@param");
|
||||
|
||||
goTo.marker('14');
|
||||
|
|
Loading…
Reference in a new issue