TypeScript needs typings for any module, except if that module is not written in TypeScript.
npm i @types/node -D
You may also need to add "types": [ "node" ] in your tsconfig.json.
TypeScript needs typings for any module, except if that module is not written in TypeScript.
npm i @types/node -D
You may also need to add "types": [ "node" ] in your tsconfig.json.