UNPKG

sound-visualizer

Version:
11 lines (9 loc) 270 B
/** * Clears a given canvas with a 2d context. * * @param canvas the canvas to be cleared * * @impure this function mutates the state of the canvas and has no return value **/ declare function clearCanvas(canvas: HTMLCanvasElement): void; export { clearCanvas };