-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api): createMediaRecorder 类型补充 #13276
Conversation
* @see https://developers.weixin.qq.com/miniprogram/dev/api/media/media-recorder/wx.createMediaRecorder.html | ||
*/ | ||
interface Option { | ||
/** 指定录制的时长(s),到达自动停止。默认值:600 最大 7200,最小 5 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以参考以下修改文档注释内容:
- /** 指定录制的时长(s),到达自动停止。默认值:600 最大 7200,最小 5 */
+ /**
+ * 指定录制的时长(s),到达自动停止。最大 7200,最小 5
+ * @default 600
+ */
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认值会在 API 文档生成中解析,需要单独备注
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我调整一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢贡献
这个 PR 做了什么? (简要描述所做更改)
createMediaRecorder 类型补充, fix #12389
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台: