mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00: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');`