diff --git a/src/features/eventListeners.ts b/src/features/eventListeners.ts index 2a2a5f92..2ec334e1 100644 --- a/src/features/eventListeners.ts +++ b/src/features/eventListeners.ts @@ -12,7 +12,7 @@ export function registerEventListeners { - let result: string[] = [] + let result: string[] = [...Object.keys(state.value || {})] if (!_variants) return result @@ -26,7 +26,7 @@ export function registerEventListeners { - const result = {} + const result: Partial = {} Object.assign(result, state.value) @@ -37,7 +37,6 @@ export function registerEventListeners