提交 abf0ed39 编写于 作者: Q qiang

fix: update d.ts class -> interface

上级 bbc5a92f
......@@ -25,7 +25,7 @@ interface GetBatteryInfoOption {
success?: (result: GetBatteryInfoSuccessCallbackResult) => void
}
declare class Uni {
declare interface Uni {
/**
* 获取设备电量
*
......
type OnUserCaptureScreenCallback = (res?: { errMsg: string }) => void
declare class Uni {
declare interface Uni {
/**
* 监听用户主动截屏事件,用户使用系统截屏按键截屏时触发此事件。
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册