Article View: linux.debian.bugs.dist
Article #834Bug#1150885: node-fetch: Should export its types in @types/node-fetch ?
From: Jérémy Lal
Date: Wed, 14 Oct 2026 10:40
Date: Wed, 14 Oct 2026 10:40
31 lines
2739 bytes
2739 bytes
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
Technical Details
Message-ID:
<NO4yS-5rvN-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Jérémy Lal <kapouer@melix.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150885: node-fetch: Should export its types in @types/node-fetch ? Date: Wed, 14 Oct 2026 12:40:02 +0200 Message-ID: <NO4yS-5rvN-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Oct 14 10:39:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Jérémy Lal <kapouer@melix.org>, 1150885@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-javascript-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1150885 X-Debian-Pr-Package: node-fetch X-Debian-Pr-Source: node-fetch Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0+nmu1 X-Av-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Wed Oct 14 12:36:55 2026 +0200 (CEST)) X-Org-Mail: jeremy.lal.1997@polytechnique.org X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996750 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 31 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 14 Oct 2026 12:36:54 +0200 X-Original-Message-ID: <179197421469.1920249.2827672916221885289.reportbug@lal.local>