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