UNPKG
@tb-app/web-view
Version:
latest (0.6.5)
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.0
实现webview与淘宝小程序之间的通信
github.com/noshower/tb-app/tree/main/packages/web-view
noshower/tb-app
@tb-app/web-view
/
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>;