mirror of
https://github.com/archtechx/alpine-typescript.git
synced 2025-12-12 06:44:03 +00:00
Fix window declaration
This commit is contained in:
parent
b942524ca1
commit
e9f80bacd8
1 changed files with 1 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue