diff --git a/src/utils/withInstall.ts b/src/utils/withInstall.ts index 6cdf32e04d..4b3c1f1357 100644 --- a/src/utils/withInstall.ts +++ b/src/utils/withInstall.ts @@ -1,6 +1,10 @@ import { App, Plugin, Component, Directive } from 'vue'; -function withInstall(comp: T, alias?: string, directive?: { name: string; comp: Directive }): T & Plugin { +function withInstall( + comp: T, + alias?: string, + directive?: { name: string; comp: Directive }, +): T & Plugin { const componentPlugin = comp as T & Component & Plugin; componentPlugin.install = (app: App, name?: string) => {