[Pkg-javascript-devel] Update @types/node in nodejs

Vivek K J vivekkj at tchncs.de
Fri Sep 17 12:49:53 BST 2021


Hi Team,

         Please update version of @types/node which is embedded in 
nodejs from 14 to 16.

I'm getting an error because of the old version of @types/node:

+ tsc -p lib
lib/FsPromise.ts:37:56 - error TS2694: Namespace '"fs"' has no exported 
member 'Mode'.

37 export async function open(path: fs.PathLike, mode: fs.Mode): 
Promise<number> {
                                                           ~~~~


Found 1 error.

If there will be no breaking changes, let me know and I can try to update..

-- 
Cheers,
      Vivek K J
      vivekkj.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xCC1190A74736E2D5.asc
Type: application/pgp-keys
Size: 5664 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210917/30e1f172/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210917/30e1f172/attachment.sig>


More information about the Pkg-javascript-devel mailing list