9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function clearTimeout(id: number): void;

Defined in: timer/index.d.ts:13

Clears the delay set by a call to the setTimeout function.

Parameters

ParameterTypeDescription
idnumberThe identifier returned by the previously called setTimeout() method.

Returns

void