UNPKG
xbccs
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
customer service
xbccs
/
dist
/
utils
/
upload.d.ts
11 lines
(10 loc)
•
274 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
interface
IUploadOptions
{
file
:
File
;
name
?:
string
;
filePath
:
string
;
formData
?:
any
;
header
?:
any
;
success
?:
(
res
:
any
) =>
void
;
fail
?:
(
err
:
any
) =>
void
; }
export
declare
const
uploadImage
:
(
options
:
IUploadOptions
) =>
Promise
<
void
>;