uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

接口 StartLocationUpdateBackgroundOption 参数缺失

Open isLiuyinghao opened this issue 4 years ago • 1 comments

问题描述 startLocationUpdateBackground 方法的入参缺少了,一个参数声明

复现步骤

interface StartLocationUpdateBackgroundOption {
        /**
         * 接口调用结束的回调函数(调用成功、失败都会执行)
         */
        complete?: StartLocationUpdateBackgroundCompleteCallback;
        /**
         * 接口调用失败的回调函数
         */
        fail?: StartLocationUpdateBackgroundFailCallback;
        /**
         * 接口调用成功的回调函数
         */
        success?: StartLocationUpdateBackgroundSuccessCallback;
    }

缺少了 type 的声明!

image

预期结果 希望可以添加上这个声明!

isLiuyinghao avatar Oct 13 '22 10:10 isLiuyinghao

@dcloudio/types 已更新

zhetengbiji avatar Feb 02 '23 07:02 zhetengbiji