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