mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-04 08:58:52 +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');`