diff --git a/api/@ohos.systemTimer.d.ts b/api/@ohos.systemTimer.d.ts index eb5ba05b9b..3f7a44dd8e 100644 --- a/api/@ohos.systemTimer.d.ts +++ b/api/@ohos.systemTimer.d.ts @@ -47,7 +47,7 @@ declare namespace systemTimer { /** * Creates a timer. * @param options Indicates the timer options. - * @returns timer ID. + * @returns {void | Promise} timer ID. */ function createTimer(options: TimerOptions, callback: AsyncCallback): void; function createTimer(options: TimerOptions): Promise;