@@ -23,35 +23,71 @@ scheduled actions.
2323
2424### clearInterval()
2525
26+ #### Call Signature
27+
28+ > ** clearInterval** (` id ` : ` number ` \| ` undefined ` ): ` void `
29+
30+ [ MDN Reference] ( https://developer.mozilla.org/docs/Web/API/clearInterval )
31+
32+ ##### Parameters
33+
34+ | Parameter | Type |
35+ | ------ | ------ |
36+ | ` id ` | ` number ` \| ` undefined ` |
37+
38+ ##### Returns
39+
40+ ` void `
41+
42+ #### Call Signature
43+
2644> ** clearInterval** (` interval ` : [ ` Timeout ` ] ( #timeout ) ): ` void `
2745
2846Cancels a ` Timeout ` object created by ` setInterval() ` .
2947
30- #### Parameters
48+ ##### Parameters
3149
3250| Parameter | Type |
3351| ------ | ------ |
3452| ` interval ` | [ ` Timeout ` ] ( #timeout ) |
3553
36- #### Returns
54+ ##### Returns
3755
3856` void `
3957
4058***
4159
4260### clearTimeout()
4361
62+ #### Call Signature
63+
64+ > ** clearTimeout** (` id ` : ` number ` \| ` undefined ` ): ` void `
65+
66+ [ MDN Reference] ( https://developer.mozilla.org/docs/Web/API/clearTimeout )
67+
68+ ##### Parameters
69+
70+ | Parameter | Type |
71+ | ------ | ------ |
72+ | ` id ` | ` number ` \| ` undefined ` |
73+
74+ ##### Returns
75+
76+ ` void `
77+
78+ #### Call Signature
79+
4480> ** clearTimeout** (` timeout ` : [ ` Timeout ` ] ( #timeout ) ): ` void `
4581
4682Cancels a ` Timeout ` object created by ` setTimeout() ` .
4783
48- #### Parameters
84+ ##### Parameters
4985
5086| Parameter | Type | Description |
5187| ------ | ------ | ------ |
5288| ` timeout ` | [ ` Timeout ` ] ( #timeout ) | A ` Timeout ` object as returned by [ setTimeout] ( #settimeout ) . |
5389
54- #### Returns
90+ ##### Returns
5591
5692` void `
5793
@@ -86,26 +122,46 @@ for use with clearImmediate
86122
87123### setInterval()
88124
125+ #### Call Signature
126+
127+ > ** setInterval** (` handler ` : ` TimerHandler ` , ` timeout? ` : ` number ` , ...` arguments? ` : ` any ` [ ] ): ` number `
128+
129+ [ MDN Reference] ( https://developer.mozilla.org/docs/Web/API/setInterval )
130+
131+ ##### Parameters
132+
133+ | Parameter | Type |
134+ | ------ | ------ |
135+ | ` handler ` | ` TimerHandler ` |
136+ | ` timeout? ` | ` number ` |
137+ | ...` arguments? ` | ` any ` [ ] |
138+
139+ ##### Returns
140+
141+ ` number `
142+
143+ #### Call Signature
144+
89145> ** setInterval** \< ` TArgs ` \> (` callback ` : (...` args ` : ` TArgs ` ) => ` void ` , ` ms? ` : ` number ` ): [ ` Timeout ` ] ( #timeout )
90146
91147Schedules repeated execution of ` callback ` every ` delay ` milliseconds.
92148
93149When ` delay ` isless than ` 4 ` , the ` delay ` will be set to ` 4 ` .
94150
95- #### Type Parameters
151+ ##### Type Parameters
96152
97153| Type Parameter |
98154| ------ |
99155| ` TArgs ` * extends* ` any ` [ ] |
100156
101- #### Parameters
157+ ##### Parameters
102158
103159| Parameter | Type | Description |
104160| ------ | ------ | ------ |
105161| ` callback ` | (...` args ` : ` TArgs ` ) => ` void ` | The function to call when the timer elapses. |
106162| ` ms? ` | ` number ` | - |
107163
108- #### Returns
164+ ##### Returns
109165
110166[ ` Timeout ` ] ( #timeout )
111167
@@ -115,6 +171,26 @@ for use with [clearInterval](#clearinterval)
115171
116172### setTimeout()
117173
174+ #### Call Signature
175+
176+ > ** setTimeout** (` handler ` : ` TimerHandler ` , ` timeout? ` : ` number ` , ...` arguments? ` : ` any ` [ ] ): ` number `
177+
178+ [ MDN Reference] ( https://developer.mozilla.org/docs/Web/API/setTimeout )
179+
180+ ##### Parameters
181+
182+ | Parameter | Type |
183+ | ------ | ------ |
184+ | ` handler ` | ` TimerHandler ` |
185+ | ` timeout? ` | ` number ` |
186+ | ...` arguments? ` | ` any ` [ ] |
187+
188+ ##### Returns
189+
190+ ` number `
191+
192+ #### Call Signature
193+
118194> ** setTimeout** \< ` TArgs ` \> (` callback ` : (...` args ` : ` TArgs ` ) => ` void ` , ` ms? ` : ` number ` ): [ ` Timeout ` ] ( #timeout )
119195
120196Schedules execution of a one-time ` callback ` after ` delay ` milliseconds.
@@ -126,20 +202,20 @@ time specified.
126202
127203When ` delay ` is less than ` 4 ` , the ` delay ` will be set to ` 4 ` .
128204
129- #### Type Parameters
205+ ##### Type Parameters
130206
131207| Type Parameter |
132208| ------ |
133209| ` TArgs ` * extends* ` any ` [ ] |
134210
135- #### Parameters
211+ ##### Parameters
136212
137213| Parameter | Type | Description |
138214| ------ | ------ | ------ |
139215| ` callback ` | (...` args ` : ` TArgs ` ) => ` void ` | The function to call when the timer elapses. |
140216| ` ms? ` | ` number ` | - |
141217
142- #### Returns
218+ ##### Returns
143219
144220[ ` Timeout ` ] ( #timeout )
145221
0 commit comments