Skip to content

Commit 8f4cefe

Browse files
authored
Merge pull request #12897 from Microsoft/Fix12316
Add `method` to known tag names
2 parents ae2a13c + c9111a0 commit 8f4cefe

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)