Skip to content

Commit c9111a0

Browse files
committed
Fix #12316: Add method to known tag names
1 parent ae2a13c commit c9111a0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/services/jsDoc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace ts.JsDoc {
2323
"lends",
2424
"link",
2525
"memberOf",
26+
"method",
2627
"name",
2728
"namespace",
2829
"param",

tests/cases/fourslash/completionInJsDoc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ goTo.marker('1');
3030
verify.completionListContains("constructor");
3131
verify.completionListContains("param");
3232
verify.completionListContains("type");
33+
verify.completionListContains("method");
3334

3435
goTo.marker('2');
3536
verify.completionListContains("constructor");

0 commit comments

Comments
 (0)