Include "types" in your "compilerOptions" ...
{ "compilerOptions": { "types": [ // ... your other types "node" ], }, }
you can read more from this link :https://www.typescriptlang.org/tsconfig/#types