1
0
Fork 0
mirror of https://github.com/archtechx/alpine-typescript.git synced 2025-12-11 22:34:03 +00:00

Fix window declaration

This commit is contained in:
Samuel Štancl 2021-02-26 15:08:08 +01:00
parent b942524ca1
commit e9f80bacd8

View file

@ -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;