Webstorm, typescript and WebGL


I'm developing a typescript application with WebGL support. I've found that the definitions on Webstorm (lib.d.ts) are outdated and don't include WebGL bindings.

So, I downloaded a WebGL typescript definition file and added it to my project, but then it doesn't compile because my typescript installation on node.js is up to date and this produces a bunch of errors due to repetition.

Is there a way to update the lib.d.ts file that comes with Webstorm or add a WebGL.d.ts file only for intellisense and type checking?


Please sign in to leave a comment.