File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -34252,7 +34252,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
34252
34252
const arg0Type = getTypeOfExpression(args[0]);
34253
34253
// This is safe even if a different BooleanConstructor is defined in a namespace,
34254
34254
// because in that case arg0Type.symbol.escapedName will appear as "__type".
34255
- if (arg0Type.symbol.escapedName === "BooleanConstructor") {
34255
+ if (arg0Type.symbol? .escapedName === "BooleanConstructor") {
34256
34256
// It is a-priori knowledge the filter returns the same type as the array type
34257
34257
// for a signature succeeding when BooleanConstructor is the argument type
34258
34258
let returnType = (signature.mapper as undefined | { targets: readonly Type[]; })?.targets[1];
You can’t perform that action at this time.
0 commit comments