From e9f80bacd8f74d5e93e9a2367701e784484d3039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 26 Feb 2021 15:08:08 +0100 Subject: [PATCH] Fix window declaration --- src/index.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index 529a0d6..db9dc8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,4 @@ -declare global { - interface Window { - AlpineComponents: { [name: string]: ComponentConstructor }; - Alpine: any; - deferLoadingAlpine: Function; - } -} +declare const window: any; type ComponentConstructor = (...args: any[]) => object;