diff --git a/packages/astro/src/runtime/server/astro-island.ts b/packages/astro/src/runtime/server/astro-island.ts index ed789939a..3f2ee1257 100644 --- a/packages/astro/src/runtime/server/astro-island.ts +++ b/packages/astro/src/runtime/server/astro-island.ts @@ -23,7 +23,7 @@ interface IslandMeta { { // island meta info (for all islands) is stored here - var $meta: Record = {}; + let $meta: Record = {}; // Astro.assign is called in injected scripts (self as any).Astro = Object.assign((self as any).Astro || {}, { assign(script: HTMLElement, value: any) {