Skip to content

Commit c069fbb

Browse files
committed
fmt
1 parent 5fed81c commit c069fbb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/compiler/binder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void {
10471047
(node as FunctionLikeDeclaration | ClassStaticBlockDeclaration).endFlowNode = currentFlow;
10481048
}
10491049
if (seenThisKeyword) {
1050-
node.flags |= NodeFlags.ContainsThis;
1050+
node.flags |= NodeFlags.ContainsThis;
10511051
}
10521052
if (node.kind === SyntaxKind.SourceFile) {
10531053
node.flags |= emitFlags;

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21135,7 +21135,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
2113521135
const { initializer } = node as JsxAttribute;
2113621136
return !!initializer && isContextSensitive(initializer);
2113721137
}
21138-
case SyntaxKind.JsxExpression:
21138+
case SyntaxKind.JsxExpression:
2113921139
case SyntaxKind.YieldExpression: {
2114021140
// It is possible to that node.expression is undefined (e.g <div x={} />)
2114121141
const { expression } = node as JsxExpression | YieldExpression;

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,7 @@ export function forEachYieldExpression<T>(body: Block, visitor: (expr: YieldExpr
28942894
if (node.name && node.name.kind === SyntaxKind.ComputedPropertyName) {
28952895
// Note that we will not include methods/accessors of a class because they would require
28962896
// first descending into the class. This is by design.
2897-
return traverse(node.name.expression);;
2897+
return traverse(node.name.expression);
28982898
}
28992899
}
29002900
else if (!isPartOfTypeNode(node)) {

0 commit comments

Comments
 (0)