diff --git a/island.ts b/island.ts index 1bba836..ee53dcb 100644 --- a/island.ts +++ b/island.ts @@ -57,4 +57,4 @@ export function IslandApplet() { return [canvas, seedLabel, generateButton]; } -(globalThis as any).IslandApplet = IslandApplet; +Object.assign(globalThis, { IslandApplet });