diff --git a/src/ts-internals.ts b/src/ts-internals.ts index 26d5a3c9..03f29f11 100644 --- a/src/ts-internals.ts +++ b/src/ts-internals.ts @@ -48,7 +48,7 @@ function createTsInternalsUncached(_ts: TSCommon) { host, /*cache*/ undefined, /*projectRefs*/ undefined, - /*conditionsOrIsConfigLookup*/ tsGte5_3_0 ? undefined : true, + /*conditionsOrIsConfigLookup*/ tsGte5_3_0 ? [] : true, /*isConfigLookup*/ tsGte5_3_0 ? true : undefined ); if (resolved.resolvedModule) {