mirror of
https://github.com/archtechx/alpine-typescript.git
synced 2025-12-11 22:34:03 +00:00
revert global export - it doesn't work
This commit is contained in:
parent
3db89642ad
commit
026866e514
2 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@leanadmin/alpine-typescript",
|
||||
"version": "0.1.20",
|
||||
"version": "0.1.21",
|
||||
"description": "TypeScript support for Alpine.js",
|
||||
"main": "dist/index.js",
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
export interface AlpineElement extends HTMLElement {
|
||||
__x: ComponentController;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue