We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb384cf commit 1a32a4fCopy full SHA for 1a32a4f
types/wx/index.d.ts
@@ -148,7 +148,7 @@ declare function setInterval(
148
/** 执行回调函数之间的时间间隔,单位 ms。 */
149
delay?: number,
150
/** param1, param2, ..., paramN 等附加参数,它们会作为参数传递给回调函数。 */
151
- rest?: any
+ ...rest: any[]
152
): number
153
/** [number setTimeout(function callback, number delay, any rest)](https://developers.weixin.qq.com/miniprogram/dev/api/base/timer/setTimeout.html)
154
*
@@ -159,5 +159,5 @@ declare function setTimeout(
159
/** 延迟的时间,函数的调用会在该延迟之后发生,单位 ms。 */
160
161
162
163
0 commit comments