diff --git a/src/index.ts b/src/index.ts index 91d789f..290fa07 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,19 +29,18 @@ declare type Alpine = { pauseMutationObserver: boolean; magicProperties: { [name: string]: CallableFunction }; ignoreFocusedForValueBinding: boolean; - pauseMutationObserver: boolean; - onComponentInitializeds: Array; - onBeforeComponentInitializeds: Array; - onComponentInitializeds: (callback: CallableFunction) => void; - onBeforeComponentInitializeds: (callback: CallableFunction) => void; + onComponentInitializeds: Array; + onBeforeComponentInitializeds: Array; + onComponentInitialized: (callback: CallableFunction) => void; + onBeforeComponentInitialized: (callback: CallableFunction) => void; listenForNewUninitializedComponentsAtRunTime: () => undefined; discoverUninitializedComponents: ( callback: (rootEl: HTMLElement) => void, - el?: HTMLElement = null + el?: HTMLElement, ) => void; discoverComponents: (callback: (rootEl: HTMLElement) => void) => void; start: () => void; - addMagicProperty(name: string, callback: ($el: HTMLElement) => void); + addMagicProperty: (name: string, callback: ($el: HTMLElement) => void) => void; clone: (component: AlpineComponent, newEl: HTMLElement) => void; };