We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce53ba commit 8991502Copy full SHA for 8991502
src/compiler/binder.ts
@@ -2618,6 +2618,9 @@ namespace ts {
2618
}
2619
2620
function bindParameter(node: ParameterDeclaration | JSDocParameterTag) {
2621
+ if (node.kind === SyntaxKind.JSDocParameterTag && container.kind !== SyntaxKind.JSDocSignature) {
2622
+ return;
2623
+ }
2624
if (inStrictMode && !(node.flags & NodeFlags.Ambient)) {
2625
// It is a SyntaxError if the identifier eval or arguments appears within a FormalParameterList of a
2626
// strict mode FunctionLikeDeclaration or FunctionExpression(13.1)
0 commit comments