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