mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
79938178dd
* build: use vue-tsc to generate dts * reduce inline type declaration * fix: type checking failed * apply suggestions from code review * address PR comments
17 lines
460 B
TypeScript
17 lines
460 B
TypeScript
import { withInstall, withNoopInstall } from '@element-plus/utils'
|
|
|
|
import Steps from './src/steps.vue'
|
|
import Step from './src/item.vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
|
|
|
export const ElSteps: SFCWithInstall<typeof Steps> & {
|
|
Step: typeof Step
|
|
} = withInstall(Steps, {
|
|
Step,
|
|
})
|
|
export default ElSteps
|
|
export const ElStep: SFCWithInstall<typeof Step> = withNoopInstall(Step)
|
|
|
|
export * from './src/item'
|
|
export * from './src/steps'
|