types(Uploader): add UploaderInstance type (#9164)

* types(Uploader): add UploaderInstance type

* types: UploaderExpose

* fix: types
This commit is contained in:
neverland
2021-08-01 18:32:07 +08:00
committed by GitHub
parent 8f96a7b8a1
commit 1b5c166824
8 changed files with 157 additions and 92 deletions
+4 -1
View File
@@ -1,7 +1,7 @@
import { PropType, defineComponent } from 'vue';
// Utils
import { bem, isImageFile, UploaderFileListItem } from './utils';
import { bem, isImageFile } from './utils';
import { isDef, getSizeStyle, extend } from '../utils';
import { callInterceptor, Interceptor } from '../utils/interceptor';
@@ -10,6 +10,9 @@ import { Icon } from '../icon';
import { Image, ImageFit } from '../image';
import { Loading } from '../loading';
// Types
import type { UploaderFileListItem } from './types';
export default defineComponent({
props: {
name: [Number, String],