types: improve generated component typing (#8308)
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import { installable } from '../utils';
|
||||
import { withInstall } from '../utils';
|
||||
import _Badge from './Badge';
|
||||
|
||||
const Badge = installable(_Badge);
|
||||
const Badge = withInstall<typeof _Badge>(_Badge);
|
||||
|
||||
export default Badge;
|
||||
export { Badge };
|
||||
|
||||
Reference in New Issue
Block a user