From 97f12e327081172468b60f8819adfd60aa011e89 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 19 Sep 2020 23:14:30 +0800 Subject: [PATCH] types: fix createComponent typing --- src/utils/create/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/create/component.ts b/src/utils/create/component.ts index 6cbbf825c..a264b0a36 100644 --- a/src/utils/create/component.ts +++ b/src/utils/create/component.ts @@ -13,5 +13,5 @@ export function createComponent(name: string) { }; return defineComponent(sfc); - }; + } as typeof defineComponent; }