Skip to content

Commit

Permalink
revert global export - it doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed May 23, 2021
1 parent 3db8964 commit 026866e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 026866e

Please sign in to comment.