4 ms·
Are there any easy ways to try out drawing on a canvas in TypeScript, with full type annotations for the Canvas2D API so that I can get nice autocompletion and
by ninkendo 5y ago
Are there any easy ways to try out drawing on a canvas in TypeScript, with full type annotations for the Canvas2D API so that I can get nice autocompletion and an easy ability to browse the API?
I like the idea of creating drawings directly in javascript even for my own purposes, but it'd be great if I had a type system to help me get my code right the first time...
- robinduckett 5y agohttps://kernhanda.github.io/tutorial-typescript-canvas-drawing/ https://kernhanda.github.io/tutorial-typescript-canvas-drawi...
- lloydatkinson 5y agoI was wondering the same
- moron4hire 5y agoIt's in lib.dom.d.ts already.