[Pkg-javascript-devel] Bug#1014914: Regression in @types
Mark Weyer
Mark.Weyer at Hahn-Schickard.de
Thu Jul 14 12:55:20 BST 2022
Package: nodejs
Version: 12.22.12~dfsg-1~deb11u1
The upgrade from Version 12.22.5~dfsg-2~11u1 to 12.22.12~dfsg-1~deb11u1 broke Typescript (from package node-typescript) for me.
For a minimal example, let test.ts contain just the following line:
process.exit(0)
And compile it with
tsc --typeRoots /usr/share/nodejs/@types/node test.ts
With Version 12.22.5~dfsg-2~11u1, everything is fine. With Version 12.22.12~dfsg-1~deb11u1 I get
test.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.
1 process.exit(0)
~~~~~~~
Found 1 error.
Best regards,
Mark Weyer
Hahn-Schickard
Dr. Mark Weyer
Application Engineering
Telefon: +49 7721 943-189
E-Mail: Mark.Weyer at Hahn-Schickard.de<mailto:Mark.Weyer at Hahn-Schickard.de>
Hahn-Schickard-Gesellschaft für angewandte Forschung e.V.
Wilhelm-Schickard-Str. 10
D-78052 Villingen-Schwenningen
www.Hahn-Schickard.de<http://www.hahn-schickard.de/>
Wir verweisen hiermit auf unsere Datenschutzerklärung<https://www.hahn-schickard.de/datenschutzerklaerung/>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220714/cdc4d4c5/attachment.htm>
More information about the Pkg-javascript-devel
mailing list