mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* build: use vue-tsc to generate dts * reduce inline type declaration * fix: type checking failed * apply suggestions from code review * address PR comments
14 lines
398 B
TypeScript
14 lines
398 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
import Calendar from './src/calendar.vue'
|
|
import type { SFCWithInstall } from '@element-plus/utils'
|
|
|
|
export const ElCalendar: SFCWithInstall<typeof Calendar> = withInstall(Calendar)
|
|
export default ElCalendar
|
|
|
|
export * from './src/calendar'
|
|
export type {
|
|
CalendarDateTableInstance,
|
|
DateTableInstance,
|
|
CalendarInstance,
|
|
} from './src/instance'
|