#1150885 node-fetch: Should export its types in @types/node-fetch ?

#1150885#5
Date:
2026-10-14 10:36:54 UTC
From:
To:
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.

#1150885#10
Date:
2026-10-14 12:34:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-fetch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1150885@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapouer@melix.org> (supplier of updated node-fetch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 14 Oct 2026 14:16:54 +0200
Source: node-fetch
Architecture: source
Version: 3.3.2+~cs11.4.11-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Jérémy Lal <kapouer@melix.org>
Closes: 1150885
Changes:
 node-fetch (3.3.2+~cs11.4.11-4) unstable; urgency=medium
 .
   * Update control
   * patch: export also types. Closes: #1150885.
Checksums-Sha1:
 02d6273e2a76e3f0f67f368b23fe245e3ae9b3e9 3806 node-fetch_3.3.2+~cs11.4.11-4.dsc
 d53b8ee70e49aeff412fefb98d8abe0496fd2cab 56188 node-fetch_3.3.2+~cs11.4.11-4.debian.tar.xz
 b9b404601596576ae5d1989e1eecd85e388044c5 21191 node-fetch_3.3.2+~cs11.4.11-4_source.buildinfo
Checksums-Sha256:
 59326ace77405c40db0961faed7492bc08138c04fb6e92fe7e3affb848153a48 3806 node-fetch_3.3.2+~cs11.4.11-4.dsc
 b1d6e02a82422b5aac2a3a6d11de3d14a5fa60b93ce1c51a26650d495c86a5cc 56188 node-fetch_3.3.2+~cs11.4.11-4.debian.tar.xz
 8c3851fd911f00ff7ecab3e4b7878f92d082381710df98387b0bcf833e526620 21191 node-fetch_3.3.2+~cs11.4.11-4_source.buildinfo
Files:
 5eec4b688bd99f86ce958791c5b0d268 3806 javascript optional node-fetch_3.3.2+~cs11.4.11-4.dsc
 7c2784422400bced82504bcf573444b8 56188 javascript optional node-fetch_3.3.2+~cs11.4.11-4.debian.tar.xz
 81c54176cfb19e91c268bef3065c4fdf 21191 javascript optional node-fetch_3.3.2+~cs11.4.11-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCAAtFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmrPc3wPHGplcnJ5QGVk
YS5zYXJsAAoJEGYRwF7dOfN0eEkP/3HqICv10kBu0q5E+hwKgq/NHBkc61IpK7u4
hxDqQ58qKLaenG8TVYpBW7rIKVfaw1qrHZo3ihdCUkPgP74CZPgDaGewKh1B8Jpr
DsB6dzg6Y8y1TUZQcgyz4SCzXw8092wnZBGs8hv7N75UDpUgaKUnZcvAZA+49gFS
x4yc3li2xjV3OVV5NSA5Eye4cJ3PFHA1UVD/MonPG6FeN2zGrNCAt7JPufv6XofI
hCpvzihVFBE8Kiw6wlEzV/qLI6Ix600J4JnzuV4J32jogQf3HmyWH+4AdIq/riRF
jSOmG9atBavxjt93ESnnjzeJhjMlbrY3/ZrhW7i75MVw+Q8voQ3biBIsyvKa9ecX
+u1MLh2L6JWNP//ESPbdJfC2KPe38TOUV4j8feeTYbvfKya/rCuv1LyPJF+qlVxc
abpjU/65Um+IidIDceduQP6KZfE2Nqot/2vtpx+zuRUjNNlADM6kh00C/JaU934t
/jCKZN25weC0HZJo+gvLLm04mkvt+J2skF+c0ZRoktEPbOrRKFJbnS+G70+wzgdh
uZ+Lo7/Suj0KDMZa8tnRqAjqq1ChIezSRV1pZWACt1lsgnjgiqDu1PgM/7NZ1mRq
M6PR5hnnfSC+kiicTQHcUrs/AtaUTnPbP3tvNRtw6K9JtdK8G6VIumalDe+RCMpy
3XThP63f
=NqIA
-----END PGP SIGNATURE-----