Skip to content

Commit 4b0eafc

Browse files
committed
Fix format
1 parent 9e3adb4 commit 4b0eafc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/compiler/checker.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -34334,9 +34334,10 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
3433434334
// If the call expression is a synthetic call to a `[Symbol.hasInstance]` method then we will produce a head
3433534335
// message when reporting diagnostics that explains how we got to `right[Symbol.hasInstance](left)` from
3433634336
// `left instanceof right`, as it pertains to "Argument" related messages reported for the call.
34337-
return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags, () => isSyntheticHasInstanceMethodCall(node) ?
34338-
Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method :
34339-
undefined);
34337+
return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags, () =>
34338+
isSyntheticHasInstanceMethodCall(node) ?
34339+
Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method :
34340+
undefined);
3434034341
}
3434134342

3434234343
function isGenericFunctionReturningFunction(signature: Signature) {

src/services/goToDefinition.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ import {
102102
TypeChecker,
103103
TypeFlags,
104104
TypeReference,
105-
unescapeLeadingUnderscores
105+
unescapeLeadingUnderscores,
106106
} from "./_namespaces/ts";
107107

108108
/** @internal */

0 commit comments

Comments
 (0)