mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
timer tests and snippets added
This commit is contained in:
@@ -56,3 +56,5 @@ export function setInterval(callback: Function, milliseconds = 0): number {
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
export var clearInterval = clearTimeout;
|
||||
@@ -30,3 +30,5 @@ export function clearTimeout(id: number): void {
|
||||
export function setInterval(callback: Function, milliseconds = 0): number {
|
||||
return createTimerAndGetId(callback, milliseconds, true);
|
||||
}
|
||||
|
||||
export var clearInterval = clearTimeout;
|
||||
Reference in New Issue
Block a user