From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:48:15 +0800 Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改 --- PAMapp/node_modules/@types/node/timers.d.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PAMapp/node_modules/@types/node/timers.d.ts b/PAMapp/node_modules/@types/node/timers.d.ts index 1768d7f..c2e75de 100755 --- a/PAMapp/node_modules/@types/node/timers.d.ts +++ b/PAMapp/node_modules/@types/node/timers.d.ts @@ -6,7 +6,7 @@ * The timer functions within Node.js implement a similar API as the timers API * provided by Web Browsers but use a different internal implementation that is * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). - * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/timers.js) + * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/timers.js) */ declare module 'timers' { import { Abortable } from 'node:events'; @@ -69,7 +69,7 @@ namespace setTimeout { const __promisify__: typeof setTimeoutPromise; } - function clearTimeout(timeoutId: NodeJS.Timeout): void; + function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void; function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer; // util.promisify no rest args compability // tslint:disable-next-line void-return @@ -77,7 +77,7 @@ namespace setInterval { const __promisify__: typeof setIntervalPromise; } - function clearInterval(intervalId: NodeJS.Timeout): void; + function clearInterval(intervalId: NodeJS.Timeout | undefined): void; function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate; // util.promisify no rest args compability // tslint:disable-next-line void-return @@ -85,7 +85,7 @@ namespace setImmediate { const __promisify__: typeof setImmediatePromise; } - function clearImmediate(immediateId: NodeJS.Immediate): void; + function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; function queueMicrotask(callback: () => void): void; } } -- Gitblit v1.8.0