Skip to content

Commit 69b0ab6

Browse files
author
runc
committed
fix(weapp/createBufferURL): 修正 createBufferURL 的类型定义
1 parent 1676906 commit 69b0ab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/taro/types/api/storage/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ declare module '../../index' {
310310
createBufferURL(
311311
/** 需要存入内存的二进制数据 */
312312
buffer: ArrayBuffer | TypedArray
313-
): void
313+
): string
314314

315315
/** Taro.clearStorage 的同步版本
316316
* @supported weapp, alipay, swan, jd, qq, tt, h5, harmony_hybrid

0 commit comments

Comments
 (0)