chore: export some types (#8309)

This commit is contained in:
neverland
2021-03-08 17:14:55 +08:00
committed by GitHub
parent ae40d40c24
commit 8bae9ca0ed
23 changed files with 68 additions and 26 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { PropType, defineComponent } from 'vue';
// Utils
import { bem, isImageFile, FileListItem } from './utils';
import { bem, isImageFile, UploaderFileListItem } from './utils';
import { isDef, getSizeStyle } from '../utils';
import { callInterceptor, Interceptor } from '../utils/interceptor';
@@ -20,7 +20,7 @@ export default defineComponent({
previewSize: [Number, String],
beforeDelete: Function as PropType<Interceptor>,
item: {
type: Object as PropType<FileListItem>,
type: Object as PropType<UploaderFileListItem>,
required: true,
},
},