Skip to content

Commit 1c25b1a

Browse files
committed
Fix formatting
1 parent 39364ee commit 1c25b1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40770,7 +40770,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
4077040770
}
4077140771

4077240772
function widenTypeInferredFromInitializer(declaration: HasExpressionInitializer, type: Type) {
40773-
const widened = getWidenedLiteralTypeForInitializer(declaration, type)
40773+
const widened = getWidenedLiteralTypeForInitializer(declaration, type);
4077440774
if (isInJSFile(declaration)) {
4077540775
if (isEmptyLiteralType(widened)) {
4077640776
reportImplicitAny(declaration, anyType);

0 commit comments

Comments
 (0)