Skip to content

Type Alias: SetTimeout

Documentation / @wtf/project-wpt / index / SetTimeout

type SetTimeout = (handler, timeout?) => unknown;

Defined in: packages/project-wpt/src/index.ts:18

The HTML Standard’s setTimeout, as the runner calls it.

Parameters

ParameterType
handler() => void
timeout?number

Returns

unknown