1
0
Fork 0
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:
Samuel Štancl 2021-05-23 19:32:55 +02:00
parent 3db89642ad
commit 026866e514
2 changed files with 5 additions and 5 deletions

View file

@ -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": {

View file

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