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}


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.12+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-react depends on:
ii  node-loose-envify  1.4.0+dfsg1-5

node-react recommends no packages.

node-react suggests no packages.

-- no debconf information

Reply via email to