let canvas = document.querySelector('canvas') as HTMLCanvasElement export let width: number = canvas.width export let height: number = canvas.height