1- import type { CSSProperties , VNodeTypes , FunctionalComponent } from 'vue' ;
1+ import type { CSSProperties , FunctionalComponent } from 'vue' ;
22import { inject } from 'vue' ;
33import classNames from '../_util/classNames' ;
44import { defaultConfigProvider } from '../config-provider' ;
@@ -7,6 +7,7 @@ import DefaultEmptyImg from './empty';
77import SimpleEmptyImg from './simple' ;
88import { filterEmpty } from '../_util/props-util' ;
99import PropTypes from '../_util/vue-types' ;
10+ import type { VueNode } from '../_util/type' ;
1011import { withInstall } from '../_util/type' ;
1112
1213const defaultEmptyImg = < DefaultEmptyImg /> ;
@@ -21,14 +22,14 @@ export interface EmptyProps {
2122 class ?: any ;
2223 style ?: string | CSSProperties ;
2324 imageStyle ?: CSSProperties ;
24- image ?: VNodeTypes | null ;
25- description ?: VNodeTypes ;
25+ image ?: VueNode | null ;
26+ description ?: VueNode ;
2627}
2728
2829interface EmptyType extends FunctionalComponent < EmptyProps > {
2930 displayName : string ;
30- PRESENTED_IMAGE_DEFAULT : VNodeTypes ;
31- PRESENTED_IMAGE_SIMPLE : VNodeTypes ;
31+ PRESENTED_IMAGE_DEFAULT : VueNode ;
32+ PRESENTED_IMAGE_SIMPLE : VueNode ;
3233}
3334
3435const Empty : EmptyType = ( props , { slots = { } , attrs } ) => {
0 commit comments