File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3472,7 +3472,7 @@ namespace ts {
3472
3472
return undefined;
3473
3473
}
3474
3474
3475
- function getWidenedTypeFromJSSpecialPropetyDeclarations (symbol: Symbol) {
3475
+ function getWidenedTypeFromJSSpecialPropertyDeclarations (symbol: Symbol) {
3476
3476
const types: Type[] = [];
3477
3477
let definedInConstructor = false;
3478
3478
let definedInMethod = false;
@@ -3663,7 +3663,7 @@ namespace ts {
3663
3663
// * className.prototype.method = expr
3664
3664
if (declaration.kind === SyntaxKind.BinaryExpression ||
3665
3665
declaration.kind === SyntaxKind.PropertyAccessExpression && declaration.parent.kind === SyntaxKind.BinaryExpression) {
3666
- type = getWidenedTypeFromJSSpecialPropetyDeclarations (symbol);
3666
+ type = getWidenedTypeFromJSSpecialPropertyDeclarations (symbol);
3667
3667
}
3668
3668
else {
3669
3669
type = getWidenedTypeForVariableLikeDeclaration(<VariableLikeDeclaration>declaration, /*reportErrors*/ true);
You can’t perform that action at this time.
0 commit comments