Skip to content

Commit e76607e

Browse files
committed
Fix typo
1 parent a47c476 commit e76607e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5226,7 +5226,7 @@ namespace ts {
52265226
let hasThisParameter: boolean;
52275227
const iife = getImmediatelyInvokedFunctionExpression(declaration);
52285228
const isJSConstructSignature = isJSDocConstructSignature(declaration);
5229-
const isUntypedSignatureInJSFile = !iife && !isJSConstructSignature && isInJavaScriptFile(declaration) && !hasJSDocParamterTags(declaration);
5229+
const isUntypedSignatureInJSFile = !iife && !isJSConstructSignature && isInJavaScriptFile(declaration) && !hasJSDocParameterTags(declaration);
52305230

52315231
// If this is a JSDoc construct signature, then skip the first parameter in the
52325232
// parameter list. The first parameter represents the return type of the construct

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ namespace ts {
15181518
return map(getJSDocs(node), doc => doc.comment);
15191519
}
15201520

1521-
export function hasJSDocParamterTags(node: FunctionLikeDeclaration | SignatureDeclaration) {
1521+
export function hasJSDocParameterTags(node: FunctionLikeDeclaration | SignatureDeclaration) {
15221522
const parameterTags = getJSDocTags(node, SyntaxKind.JSDocParameterTag);
15231523
return parameterTags && parameterTags.length > 0;
15241524
}

0 commit comments

Comments
 (0)