mirror of
https://github.com/archtechx/alpine-typescript.git
synced 2025-12-12 06:44:03 +00:00
make AlpineElement global
This commit is contained in:
parent
61e170473b
commit
98250d21e1
2 changed files with 5 additions and 5 deletions
|
|
@ -136,14 +136,14 @@ if (window.AlpineComponents === undefined) {
|
|||
bootstrap();
|
||||
}
|
||||
|
||||
export interface AlpineElement extends HTMLElement {
|
||||
__x: ComponentController;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
Alpine: Alpine;
|
||||
deferLoadingAlpine: any;
|
||||
AlpineComponents: any;
|
||||
}
|
||||
|
||||
interface AlpineElement extends HTMLElement {
|
||||
__x: ComponentController;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue