mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
types: improve generated component typing (#8308)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import { withInstall } from '../utils';
|
||||
import _Popover from './Popover';
|
||||
|
||||
const Popover = installable(_Popover);
|
||||
const Popover = withInstall<typeof _Popover>(_Popover);
|
||||
|
||||
export default Popover;
|
||||
export { Popover };
|
||||
|
Reference in New Issue
Block a user