mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-26 12:08:20 +00:00
commit
bccb9c6015
2
api/@ohos.systemTimer.d.ts
vendored
2
api/@ohos.systemTimer.d.ts
vendored
@ -47,7 +47,7 @@ declare namespace systemTimer {
|
||||
/**
|
||||
* Creates a timer.
|
||||
* @param options Indicates the timer options.
|
||||
* @returns timer ID.
|
||||
* @returns {void | Promise<number>} timer ID.
|
||||
*/
|
||||
function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;
|
||||
function createTimer(options: TimerOptions): Promise<number>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user