File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -16241,11 +16241,12 @@ namespace ts {
16241
16241
}
16242
16242
16243
16243
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);
16249
16250
let result = Ternary.True;
16250
16251
16251
16252
const sourceThisType = getThisTypeOfSignature(source);
You can’t perform that action at this time.
0 commit comments