UNPKG
@tb-app/web-view-api
Version:
latest (0.3.4)
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
实现webview与淘宝小程序之间的通信
github.com/noshower/tb-app/tree/main/packages/web-view-api
noshower/tb-app
@tb-app/web-view-api
/
types
/
apis
/
uploadFile.d.ts
12 lines
(11 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * 文件上传 */
export
default
function
uploadFile<T =
unknown
>(
options
: {
url
:
string
;
fileType
:
string
;
fileName
:
string
;
filePath
:
string
;
header
:
unknown
;
formData
:
unknown
; }):
Promise
<T>;