From cd1a4028900ab91bc3aa0692d1f0653ea8f0bdd5 Mon Sep 17 00:00:00 2001 From: moon <362652565@qq.com> Date: Fri, 30 Apr 2021 15:54:33 +0800 Subject: [PATCH] fix(types): vite build typescript error --- packages/varlet-ui/types/varDirective.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/varlet-ui/types/varDirective.d.ts b/packages/varlet-ui/types/varDirective.d.ts index 11276a8d323..38c8226df66 100644 --- a/packages/varlet-ui/types/varDirective.d.ts +++ b/packages/varlet-ui/types/varDirective.d.ts @@ -4,9 +4,9 @@ import { DirectiveBinding } from '@vue/runtime-core' export class VarDirective { static install(app: App): void - static mounted(el: HTMLElement, binding: DirectiveBinding) + static mounted(el: HTMLElement, binding: DirectiveBinding): void - static updated(el: HTMLElement, binding: DirectiveBinding) + static updated(el: HTMLElement, binding: DirectiveBinding): void - static unmounted(el: HTMLElement, binding: DirectiveBinding) + static unmounted(el: HTMLElement, binding: DirectiveBinding): void }