Skip to content

Commit 30aca09

Browse files
Ryan CavanaughRyan Cavanaugh
authored andcommitted
Reformat per convention
1 parent c8b2999 commit 30aca09

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/compiler/checker.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16241,11 +16241,12 @@ namespace ts {
1624116241
}
1624216242

1624316243
const kind = target.declaration ? target.declaration.kind : SyntaxKind.Unknown;
16244-
const strictVariance = (checkMode & SignatureCheckMode.IgnoreBivariance) || (!(checkMode & SignatureCheckMode.Callback)
16245-
&& strictFunctionTypes
16246-
&& kind !== SyntaxKind.MethodDeclaration
16247-
&& kind !== SyntaxKind.MethodSignature
16248-
&& kind !== SyntaxKind.Constructor);
16244+
const strictVariance = (checkMode & SignatureCheckMode.IgnoreBivariance) ||
16245+
(!(checkMode & SignatureCheckMode.Callback) &&
16246+
strictFunctionTypes &&
16247+
kind !== SyntaxKind.MethodDeclaration &&
16248+
kind !== SyntaxKind.MethodSignature &&
16249+
kind !== SyntaxKind.Constructor);
1624916250
let result = Ternary.True;
1625016251

1625116252
const sourceThisType = getThisTypeOfSignature(source);

0 commit comments

Comments
 (0)