Skip to content

Commit b6f82ad

Browse files
sbezludnymhegazy
authored andcommitted
add template to jsdoc completion (#21978)
1 parent 8341b13 commit b6f82ad

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
@@ -37,6 +37,7 @@ namespace ts.JsDoc {
3737
"see",
3838
"since",
3939
"static",
40+
"template",
4041
"throws",
4142
"type",
4243
"typedef",

tests/cases/fourslash/completionInJsDoc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ verify.completionListContains("constructor");
5959
verify.completionListContains("param");
6060
verify.completionListContains("type");
6161
verify.completionListContains("method");
62+
verify.completionListContains("template");
6263

6364
goTo.marker('2');
6465
verify.completionListContains("constructor");

0 commit comments

Comments
 (0)