Skip to content

Commit c8d4721

Browse files
committed
fix formatting
1 parent 0ca79d5 commit c8d4721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/checker/checker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19124,7 +19124,7 @@ func (c *Checker) getSignatureFromDeclaration(declaration *ast.Node) *Signature
1912419124
hasThisParameter := false
1912519125
iife := ast.GetImmediatelyInvokedFunctionExpression(declaration)
1912619126

19127-
if c.IsUntypedSignatureInJSFile(declaration){
19127+
if c.IsUntypedSignatureInJSFile(declaration) {
1912819128
flags |= SignatureFlagsIsUntypedSignatureInJSFile
1912919129
}
1913019130

@@ -30940,7 +30940,7 @@ func (c *Checker) IsUntypedSignatureInJSFile(declaration *ast.Node) bool {
3094030940
if declaration.FunctionLikeData().FullSignature != nil && declaration.FunctionLikeData().FullSignature.Type() != nil {
3094130941
return false
3094230942
}
30943-
if (core.Some(declaration.Parameters(), hasType)) {
30943+
if core.Some(declaration.Parameters(), hasType) {
3094430944
return false
3094530945
}
3094630946
return c.getContextualSignatureForFunctionLikeDeclaration(declaration) == nil

0 commit comments

Comments
 (0)