Skip to content

Commit 8d96921

Browse files
committed
Fix typo
1 parent b977b8c commit 8d96921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3472,7 +3472,7 @@ namespace ts {
34723472
return undefined;
34733473
}
34743474

3475-
function getWidenedTypeFromJSSpecialPropetyDeclarations(symbol: Symbol) {
3475+
function getWidenedTypeFromJSSpecialPropertyDeclarations(symbol: Symbol) {
34763476
const types: Type[] = [];
34773477
let definedInConstructor = false;
34783478
let definedInMethod = false;
@@ -3663,7 +3663,7 @@ namespace ts {
36633663
// * className.prototype.method = expr
36643664
if (declaration.kind === SyntaxKind.BinaryExpression ||
36653665
declaration.kind === SyntaxKind.PropertyAccessExpression && declaration.parent.kind === SyntaxKind.BinaryExpression) {
3666-
type = getWidenedTypeFromJSSpecialPropetyDeclarations(symbol);
3666+
type = getWidenedTypeFromJSSpecialPropertyDeclarations(symbol);
36673667
}
36683668
else {
36693669
type = getWidenedTypeForVariableLikeDeclaration(<VariableLikeDeclaration>declaration, /*reportErrors*/ true);

0 commit comments

Comments
 (0)