File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5226,7 +5226,7 @@ namespace ts {
5226
5226
let hasThisParameter: boolean;
5227
5227
const iife = getImmediatelyInvokedFunctionExpression(declaration);
5228
5228
const isJSConstructSignature = isJSDocConstructSignature(declaration);
5229
- const isUntypedSignatureInJSFile = !iife && !isJSConstructSignature && isInJavaScriptFile(declaration) && !hasJSDocParamterTags (declaration);
5229
+ const isUntypedSignatureInJSFile = !iife && !isJSConstructSignature && isInJavaScriptFile(declaration) && !hasJSDocParameterTags (declaration);
5230
5230
5231
5231
// If this is a JSDoc construct signature, then skip the first parameter in the
5232
5232
// parameter list. The first parameter represents the return type of the construct
Original file line number Diff line number Diff line change @@ -1518,7 +1518,7 @@ namespace ts {
1518
1518
return map ( getJSDocs ( node ) , doc => doc . comment ) ;
1519
1519
}
1520
1520
1521
- export function hasJSDocParamterTags ( node : FunctionLikeDeclaration | SignatureDeclaration ) {
1521
+ export function hasJSDocParameterTags ( node : FunctionLikeDeclaration | SignatureDeclaration ) {
1522
1522
const parameterTags = getJSDocTags ( node , SyntaxKind . JSDocParameterTag ) ;
1523
1523
return parameterTags && parameterTags . length > 0 ;
1524
1524
}
You can’t perform that action at this time.
0 commit comments