element-plus/packages/table-column/index.ts
qiang 272b8c76c8
fix: some components miss install type (#1547)
* fix: some components miss install type

* fix: some components miss install type
2021-03-09 21:24:22 +08:00

11 lines
336 B
TypeScript

import TableColumn from '../table/src/tableColumn'
import type { SFCWithInstall } from '@element-plus/utils/types'
const _TableColumn: SFCWithInstall<typeof TableColumn> = TableColumn as SFCWithInstall<typeof TableColumn>
_TableColumn.install = app => {
app.component(_TableColumn.name, _TableColumn)
}
export default _TableColumn