[Pkg-javascript-devel] Update @types/node in nodejs
Yadd
yadd at debian.org
Fri Sep 17 13:48:15 BST 2021
Hi,
@types/node must stay in a compatible version with nodejs. Then 12.x for now in unstable. It will be upgraded with nodejs.
You can use some "// @ts-ignore" to workaround for now.
Le 17 septembre 2021 13:49:53 GMT+02:00, Vivek K J <vivekkj at tchncs.de> a écrit :
>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
>
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20210917/2ea6f4e0/attachment.htm>
More information about the Pkg-javascript-devel
mailing list