mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: format
This commit is contained in:
12
nativescript-core/timer/index.d.ts
vendored
12
nativescript-core/timer/index.d.ts
vendored
@@ -4,7 +4,11 @@
|
||||
* @param milliseconds The time to wait before the function is called. Defaults to 0.
|
||||
* @param args One or more parameter to use once the function is called. Defaults to no parameters.
|
||||
*/
|
||||
export function setTimeout(callback: Function, milliseconds?: number, ...args: any[]): number;
|
||||
export function setTimeout(
|
||||
callback: Function,
|
||||
milliseconds?: number,
|
||||
...args: any[]
|
||||
): number;
|
||||
|
||||
/**
|
||||
* Clears the delay set by a call to the setTimeout function.
|
||||
@@ -18,7 +22,11 @@ export function clearTimeout(id: number): void;
|
||||
* @param milliseconds The delay between each function call.
|
||||
* @param args One or more parameter to use once the function is called. Defaults to no parameters.
|
||||
*/
|
||||
export function setInterval(callback: Function, milliseconds?: number, ...args: any[]): number;
|
||||
export function setInterval(
|
||||
callback: Function,
|
||||
milliseconds?: number,
|
||||
...args: any[]
|
||||
): number;
|
||||
|
||||
/**
|
||||
* Clears repeated function which was set up by calling setInterval().
|
||||
|
||||
Reference in New Issue
Block a user