From c064419ccb49ae5d5020718d441e3b3539f2ea83 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Mon, 18 Mar 2024 10:57:37 +0200 Subject: [PATCH] Update experimental docs with fixes --- types/k6/experimental/timers.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/k6/experimental/timers.d.ts b/types/k6/experimental/timers.d.ts index bd95fd97aca540..44a931571d5e65 100644 --- a/types/k6/experimental/timers.d.ts +++ b/types/k6/experimental/timers.d.ts @@ -3,7 +3,7 @@ */ /** - * Set a timer which execution a function once the timer expires. + * Set a timer that executes a function once the timer expires. * * @param functionRef - The function to be executed. * @param delay - The delay in milliseconds. @@ -13,7 +13,7 @@ export function setTimeout(functionRef: (...args: any[]) => void, delay: number, ...args: any[]): TimeoutID; /** - * Cancels a timeout previously set with setTimeout(). + * Cancels a timer previously set with setTimeout(). * * @param timeoutID - The timer id to be cancelled. */ @@ -30,7 +30,7 @@ export function clearTimeout(timeoutID: TimeoutID): void; export function setInterval(functionRef: (...args: any[]) => void, delay: number, ...args: any[]): IntervalID; /** - * Cancels a interval previously set with setInterval(). + * Cancels an interval previously set with setInterval(). * * @param intervalID - The interval id to be cancelled. */