Open
Description
This happens when a dependency's package.json looks like this:
"exports": {
".": {
"node": {
"types": "./dist/index.d.ts",
"module": "./dist/index.module.js",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"browser": {
"types": "./dist/index.d.ts",
"import": "./dist/index.module.js",
"require": "./dist/index.js"
},
"default": "./dist/index.module.js",
},
"./package.json": "./package.json"
},
if you add "types": "./dist/index.d.ts"
after the default the issue is fixed. This does not match regular typescript.
Metadata
Metadata
Assignees
Labels
No labels