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.we...@hahn-schickard.de<mailto:mark.we...@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/>.

Reply via email to