types: fix createComponent typing

This commit is contained in:
chenjiahan 2020-09-19 23:14:30 +08:00
parent b668245f9f
commit 97f12e3270

View File

@ -13,5 +13,5 @@ export function createComponent(name: string) {
};
return defineComponent(sfc);
};
} as typeof defineComponent;
}