I\'m trying to compile via tsc--which I\'ve installed globally--and I\'m getting an error:
tsc
~/AppData/R
Found an issue on GitHub - https://github.com/microsoft/TypeScript/issues/32333 which was related. @rbuckton suggested upgrading @types/node. It worked for me.
@types/node