File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2103,7 +2103,6 @@ namespace ts {
2103
2103
case SyntaxKind . TypeParameter :
2104
2104
return bindTypeParameter ( node as TypeParameterDeclaration ) ;
2105
2105
case SyntaxKind . Parameter :
2106
- case SyntaxKind . JSDocParameterTag :
2107
2106
return bindParameter ( < ParameterDeclaration > node ) ;
2108
2107
case SyntaxKind . VariableDeclaration :
2109
2108
return bindVariableDeclarationOrBindingElement ( < VariableDeclaration > node ) ;
@@ -2206,6 +2205,9 @@ namespace ts {
2206
2205
return updateStrictModeStatementList ( ( < Block | ModuleBlock > node ) . statements ) ;
2207
2206
2208
2207
case SyntaxKind . JSDocParameterTag :
2208
+ if ( node . parent . kind === SyntaxKind . JSDocCallbackTag ) {
2209
+ return bindParameter ( node as JSDocParameterTag ) ;
2210
+ }
2209
2211
if ( node . parent . kind !== SyntaxKind . JSDocTypeLiteral ) {
2210
2212
break ;
2211
2213
}
You can’t perform that action at this time.
0 commit comments