After successfully installing Typescript using both npm and yarn on my Windows 10 machine, I encountered an error when trying to run 'tsc file.ts'. The error message reads '582 declare var WebGL2RenderingContext'.
The error traceback points to the file ../../AppData/Roaming/npm/node_modules/typescript/lib/lib.dom.d.ts at line 16485:13. Additionally, it mentions that at line 16485 there is a redeclaration of var WebGL2RenderingContext: {'WebGL2RendingContext' was also declared here. Found 1 error.
Attached is a screenshot from Node.js Command Prompt: