Skip to content

Commit

Permalink
fix(upload): export conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Aug 11, 2024
1 parent 590ad1e commit 2e45347
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions src/upload/src/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@ export interface XhrHandlers {
handleXHRError: (e: ProgressEvent) => void
}

export interface UploadInst {
openOpenFileDialog: () => void
submit: (fileId?: string) => void
clear: () => void
}

export type OnBeforeUpload = (data: {
file: UploadSettledFileInfo
fileList: UploadSettledFileInfo[]
Expand Down
2 changes: 1 addition & 1 deletion src/upload/src/public-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type { UploadProps } from './Upload'

export interface UploadInst {
openOpenFileDialog: () => void
submit: () => void
submit: (fileId?: string) => void
clear: () => void
}

Expand Down

0 comments on commit 2e45347

Please sign in to comment.