aboutsummaryrefslogtreecommitdiff
path: root/src/screen.ts
blob: 930534ec3ce646807163ccccbee72b5787c9e2b6 (plain)
1
2
3
4
let canvas = document.querySelector('canvas') as HTMLCanvasElement

export let width: number = canvas.width
export let height: number = canvas.height