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 _Switch from './Switch';
|
||||
|
||||
const Switch = installable(_Switch);
|
||||
const Switch = withInstall<typeof _Switch>(_Switch);
|
||||
|
||||
export default Switch;
|
||||
export { Switch };
|
||||
|
Reference in New Issue
Block a user