types: improve generated component typing (#8308)

This commit is contained in:
neverland
2021-03-08 16:52:15 +08:00
committed by GitHub
parent 0c740b6962
commit ae40d40c24
86 changed files with 190 additions and 173 deletions
+2 -2
View File
@@ -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 };