type Sprite = (ctx: CanvasRenderingContext2D, width: number, height: number) => void; export const spriteLayer: Sprite = (ctx, width, height) => {}