mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-07-05 10:32:08 -05:00
Merge pull request #15593 from Microsoft/jsdoctagnames
Deduplicate jsDocTagNames and sort alphabetically
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user