[Pkg-javascript-devel] Bug#1150885: node-fetch: Should export its types in @types/node-fetch ?

Jérémy Lal kapouer at melix.org
Wed Oct 14 11:36:54 BST 2026


Package: node-fetch
Version: 3.3.2+~cs11.4.11-3
Severity: normal

I'm trying to compile tsc code that depends on node-fetch,
and it seems that typescript has a hard time finding out node-fetch types,
`/usr/share/nodejs/node-fetch/@types/index.d.ts`
(node_modules/node_fetch/@types/index.d.ts once installed)
is ignored.

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

Kernel: Linux 7.2.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
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-fetch depends on:
ii  node-data-uri-to-buffer  6.0.2~0~2025070717+~cs16.2.9-1

node-fetch recommends no packages.

node-fetch suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list