Use Object.assign() for global-namespace export

This commit is contained in:
Tangent Wantwight 2024-01-23 23:17:30 -05:00
parent 8d6da965b3
commit 9d01489c95
1 changed files with 1 additions and 1 deletions

View File

@ -57,4 +57,4 @@ export function IslandApplet() {
return [canvas, seedLabel, generateButton];
}
(globalThis as any).IslandApplet = IslandApplet;
Object.assign(globalThis, { IslandApplet });