Type alias wxCanvas

wxCanvas: (HTMLCanvasElement | OffscreenCanvas) & {
    requestAnimationFrame: ((callback: (() => void)) => number);
    cancelAnimationFrame: ((requestID: number) => void);
}

Generated using TypeDoc