mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-21 11:09:53 +08:00
this makes the following possible from typescript:
`var context = canvas.node<HTMLCanvasElement>().getContext('2d');`
alternative to
`var context = (<HtmlCanvasElement>canvas.node()).getContext('2d');`