element-plus/packages/components/steps/index.ts
dopamine 79938178dd
build: use vue-tsc to generate dts (#16111)
* build: use vue-tsc to generate dts

* reduce inline type declaration

* fix: type checking failed

* apply suggestions from code review

* address PR comments
2024-08-07 12:01:46 +08:00

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'