mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-25 05:29:07 -05:00
Bump TS devDep to 5.3, hack dtsBundler to remove new comments (#56554)
This commit is contained in:
@@ -3147,7 +3147,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
else if (location.kind === SyntaxKind.ConditionalType) {
|
||||
// A type parameter declared using 'infer T' in a conditional type is visible only in
|
||||
// the true branch of the conditional type.
|
||||
useResult = lastLocation === (location as ConditionalTypeNode).trueType;
|
||||
useResult = lastLocation === location.trueType;
|
||||
}
|
||||
|
||||
if (useResult) {
|
||||
|
||||
Reference in New Issue
Block a user