Le 16/09/2026 à 12:57, Jérémy Lal a écrit :
Package: node-react
Version: 18.3.1+dfsg+~cs88.78.12-8
Severity: normal
While running tsc on another package I'm working on
(node-react-remove-scroll/aria-hidden),
I got
```
../../../../../../../usr/share/nodejs/@types/react/index.d.ts:7:22 - error
TS2307: Cannot find module 'csstype' or its corresponding type declarations.
7 import * as CSS from "csstype";
```
Just installing node-csstype fixed it. I propose to add this patch:
diff --git a/debian/control b/debian/control
index 2326a78..b406b10 100644
--- a/debian/control
+++ b/debian/control
@@ -38,6 +38,7 @@ Package: node-react
Architecture: all
Multi-Arch: foreign
Depends: node-loose-envify
+ , node-csstype
, ${misc:Depends}
Provides: libjs-react (= ${binary:Version})
, ${nodeReact:Provides}
Hi,
for now I never set as dependency a TS-only dependency. Maybe we could
clarify that in JS policy ?