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;