From b8f5b461bbd41f91dbb12ebeb406016f0d9cd623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 17 May 2021 16:25:14 +0200 Subject: [PATCH] Add a catch-all to Alpine --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index e41c933..1b2d7d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,6 +43,8 @@ export declare type Alpine = { start: () => void; addMagicProperty(name: string, callback: ($el: HTMLElement) => void); clone: (component: any, newEl: HTMLElement) => void; + + [key: string]: any; }; export function registerComponents(components: { [name: string]: Function }): { [name: string]: ComponentConstructor } {