Skip to content

Commit d73b05c

Browse files
author
Andy
authored
Fix typo (#16826)
1 parent 51fb7e9 commit d73b05c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/binder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,16 +2321,16 @@ namespace ts {
23212321
if (symbol && symbol.valueDeclaration && symbol.valueDeclaration.kind === SyntaxKind.VariableDeclaration) {
23222322
const declaration = symbol.valueDeclaration as VariableDeclaration;
23232323
if (declaration.initializer) {
2324-
return isExportsOrModuleExportsOrAliasOrAssignemnt(declaration.initializer);
2324+
return isExportsOrModuleExportsOrAliasOrAssignment(declaration.initializer);
23252325
}
23262326
}
23272327
}
23282328
return false;
23292329
}
23302330

2331-
function isExportsOrModuleExportsOrAliasOrAssignemnt(node: Node): boolean {
2331+
function isExportsOrModuleExportsOrAliasOrAssignment(node: Node): boolean {
23322332
return isExportsOrModuleExportsOrAlias(node) ||
2333-
(isAssignmentExpression(node, /*excludeCompoundAssignements*/ true) && (isExportsOrModuleExportsOrAliasOrAssignemnt(node.left) || isExportsOrModuleExportsOrAliasOrAssignemnt(node.right)));
2333+
(isAssignmentExpression(node, /*excludeCompoundAssignements*/ true) && (isExportsOrModuleExportsOrAliasOrAssignment(node.left) || isExportsOrModuleExportsOrAliasOrAssignment(node.right)));
23342334
}
23352335

23362336
function bindModuleExportsAssignment(node: BinaryExpression) {

0 commit comments

Comments
 (0)