//not yet in default declaration declare interface HTMLCanvasElement { captureStream(framerate?: number): MediaStream; }