mirror of
https://github.com/github/codeql.git
synced 2026-05-10 09:19:27 +02:00
JS: Make use of JSDocParamTag
This commit is contained in:
@@ -619,11 +619,10 @@ class SimpleParameter extends Parameter, VarDecl {
|
||||
)
|
||||
}
|
||||
|
||||
override JSDocTag getJSDocTag() {
|
||||
override JSDocParamTag getJSDocTag() {
|
||||
exists(Function fun |
|
||||
this = fun.getAParameter() and
|
||||
result = fun.getDocumentation().getATag() and
|
||||
result.getTitle() = "param" and
|
||||
result.getName() = getName()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user