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
/
getFileInfo.d.ts
11 lines
(10 loc)
•
209 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * 获取文件信息 */
export
default
function
getFileInfo
(
options
: { apFilePath:
string
; digestAlgorithm?:
'md5'
|
'sha1'
; }
):
Promise
<{
size
:
number
;
createTime
:
number
; }>;