We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eef7c14 commit 6fb34b1Copy full SHA for 6fb34b1
1 file changed
src/compiler/utilities.ts
@@ -9057,8 +9057,8 @@ const _computedOptions = createComputedCompilerOptions({
9057
if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) {
9058
return false;
9059
}
9060
- if (compilerOptions.resolvePackageJsonExports !== undefined) {
9061
- return compilerOptions.resolvePackageJsonExports;
+ if (compilerOptions.resolvePackageJsonImports !== undefined) {
+ return compilerOptions.resolvePackageJsonImports;
9062
9063
switch (moduleResolution) {
9064
case ModuleResolutionKind.Node16:
0 commit comments