mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
types: fix createComponent typing
This commit is contained in:
@@ -13,5 +13,5 @@ export function createComponent(name: string) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return defineComponent(sfc);
|
return defineComponent(sfc);
|
||||||
};
|
} as typeof defineComponent;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user