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 @@ -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
You can’t perform that action at this time.
0 commit comments