diff --git a/types/index.d.ts b/types/index.d.ts index 8d612ab..e8dd853 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -46,16 +46,15 @@ export interface RenderOptions baseElement?: Element } -type ConfigurationArgs = [ - localVue: typeof Vue, - // eslint-disable-next-line @typescript-eslint/no-explicit-any - store: Store, - router: Router, -] - export type ConfigurationCallback = - | ((...args: ConfigurationArgs) => Partial>) - | ((...args: ConfigurationArgs) => void) + | (( + localVue: typeof Vue, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + store: Store, + router: Router, + ) => Partial>) + // eslint-disable-next-line @typescript-eslint/no-explicit-any + | ((localVue: typeof Vue, store: Store, router: Router) => void) export function render( TestComponent: VueClass | ComponentOptions,