- Package:
- node-react-dom
- Source:
- node-react-dom
- Submitter:
- Bastien Roucaries
- Date:
- 2026-07-11 07:57:01 UTC
- Severity:
- normal
Can you add this types file ? I do not achieve to get this installed rouca
Le 23/06/2026 à 17:15, Bastien Roucaries a écrit : Hi, node-react already embeds @types/react-dom: $ apt show node-types-react-dom Package: node-types-react-dom State: not a real package (virtual) and a missing typescript declaration cannot be a serious bug. The serious bug is to upload a file that requires it without verifying it is available.
Most likely issue is that dh-node doesn't pick the exports defined by
types-react-dom/package.json (no "files", only "types", and "exports".*."types"."default"):
"exports": {
".": {
"types": {
"default": "./index.d.ts"
}
},
"./client": {
"types": {
"default": "./client.d.ts"
}
},
"./canary": {
"types": {
"default": "./canary.d.ts"
}
},
"./server": {
"types": {
"default": "./server.d.ts"
}
},
"./experimental": {
"types": {
"default": "./experimental.d.ts"
}
},
"./test-utils": {
"types": {
"default": "./test-utils/index.d.ts"
}
},
"./package.json": "./package.json"
},
I pushed a fix for that. I'll upload the package unless someone does it before.