1
0
Fork 0
mirror of https://github.com/archtechx/alpine-typescript.git synced 2025-12-12 06:44:03 +00:00

Add a catch-all to Alpine

This commit is contained in:
Samuel Štancl 2021-05-17 16:25:14 +02:00 committed by GitHub
parent 43b0f2a715
commit b8f5b461bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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