Add type definitions for HTMLCanvasElement.