Skip to content

Commit dc9bd71

Browse files
zhutianjian3ZakaryCode
authored andcommitted
fix(types): 修复 api 类型错误
1 parent 41f6b71 commit dc9bd71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/taro/types/api/media/map.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ declare module '../../index' {
560560
}
561561
interface RemoveMarkersOption {
562562
/** marker 的 id 集合。 */
563-
markerIds: string[]
563+
markerIds: number[]
564564
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
565565
complete?: (res: TaroGeneral.CallbackResult) => void
566566
/** 接口调用失败的回调函数 */
@@ -609,7 +609,7 @@ declare module '../../index' {
609609
/** 聚合簇的坐标 */
610610
center: LatLng
611611
/** 该聚合簇内的点标记数据数组 */
612-
markerIds: string[]
612+
markerIds: number[]
613613
}
614614
interface LatLng {
615615
/** 纬度值 */

0 commit comments

Comments
 (0)