<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le mer. 16 sept. 2026 à 13:55, Xavier <<a href="mailto:yadd@debian.org">yadd@debian.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 16/09/2026 à 12:57, Jérémy Lal a écrit :<br>
> Package: node-react<br>
> Version: 18.3.1+dfsg+~cs88.78.12-8<br>
> Severity: normal<br>
> <br>
> While running tsc on another package I'm working on (node-react-remove-scroll/aria-hidden),<br>
> I got<br>
> <br>
> ```<br>
> ../../../../../../../usr/share/nodejs/@types/react/index.d.ts:7:22 - error TS2307: Cannot find module 'csstype' or its corresponding type declarations.<br>
> <br>
> 7 import * as CSS from "csstype";<br>
> ```<br>
> <br>
> Just installing node-csstype fixed it. I propose to add this patch:<br>
> <br>
> diff --git a/debian/control b/debian/control<br>
> index 2326a78..b406b10 100644<br>
> --- a/debian/control<br>
> +++ b/debian/control<br>
> @@ -38,6 +38,7 @@ Package: node-react<br>
> Architecture: all<br>
> Multi-Arch: foreign<br>
> Depends: node-loose-envify<br>
> + , node-csstype<br>
> , ${misc:Depends}<br>
> Provides: libjs-react (= ${binary:Version})<br>
> , ${nodeReact:Provides}<br>
<br>
Hi,<br>
<br>
for now I never set as dependency a TS-only dependency. Maybe we could <br>
clarify that in JS policy ?<br></blockquote><div><br></div><div>What I don't like in that case is that csstype is something that is not needed by</div><div>the consumer, and depending on @types/react will always make compilation fail</div><div>unless csstype is installed.</div></div></div>