CanvasElement typedef

  1. @Deprecated('Use HTMLCanvasElement instead.')
CanvasElement = HTMLCanvasElement

All usages of this type alias should be updated to the more consistent HTMLCanvasElement.

Implementation

@Deprecated('Use HTMLCanvasElement instead.')
typedef CanvasElement = HTMLCanvasElement;