import * as lib from "./lib/lib.js" function loop() { lib.canvas.fillRect(100, 100, 200, 50, "red"); } lib.startGame(loop);