types(Uploader): add UploaderInstance type (#9164)
* types(Uploader): add UploaderInstance type * types: UploaderExpose * fix: types
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user