diff --git a/lib/tsc.js b/lib/tsc.js index 40c617a9e5a5f..e90fc7ec53e8e 100644 --- a/lib/tsc.js +++ b/lib/tsc.js @@ -62100,7 +62100,7 @@ function createTypeChecker(host) { } } } - const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i])) : target; + const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; return filtered.flags & 131072 /* Never */ ? target : filtered; } function isWeakType(type) { diff --git a/lib/tsserver.js b/lib/tsserver.js index 9e9e80a987d59..c162605c38f43 100644 --- a/lib/tsserver.js +++ b/lib/tsserver.js @@ -66776,7 +66776,7 @@ function createTypeChecker(host) { } } } - const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i])) : target; + const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; return filtered.flags & 131072 /* Never */ ? target : filtered; } function isWeakType(type) { diff --git a/lib/tsserverlibrary.js b/lib/tsserverlibrary.js index 03fdbb7e0f9d3..cb12b5c07ce19 100644 --- a/lib/tsserverlibrary.js +++ b/lib/tsserverlibrary.js @@ -64543,7 +64543,7 @@ ${lanes.join("\n")} } } } - const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i])) : target; + const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; return filtered.flags & 131072 /* Never */ ? target : filtered; } function isWeakType(type) { diff --git a/lib/typescript.js b/lib/typescript.js index e257a2acab8e8..5ca6f8d6a04fb 100644 --- a/lib/typescript.js +++ b/lib/typescript.js @@ -64543,7 +64543,7 @@ ${lanes.join("\n")} } } } - const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i])) : target; + const filtered = contains(include, 0 /* False */) ? getUnionType(types.filter((_, i) => include[i]), 0 /* None */) : target; return filtered.flags & 131072 /* Never */ ? target : filtered; } function isWeakType(type) {