mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-13 13:59:04 +08:00
fix(upload): onBeforeUpload type error (#3634)
* fix(type): upload onBeforeUpload * Update interface.ts
This commit is contained in:
parent
e2c8240012
commit
ef55c4bdc9
@ -121,7 +121,7 @@ export interface UploadInst {
|
||||
export type OnBeforeUpload = (data: {
|
||||
file: SettledFileInfo
|
||||
fileList: SettledFileInfo[]
|
||||
}) => Promise<unknown>
|
||||
}) => Promise<boolean> | boolean | void
|
||||
|
||||
export type ListType = 'text' | 'image' | 'image-card'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user