From cb01cb0d4ad67aace33ae603938d1a28a7c10ca7 Mon Sep 17 00:00:00 2001 From: James Gordo <14321895+jamesgordo@users.noreply.github.com> Date: Thu, 14 Sep 2023 07:36:11 +0800 Subject: Fixed api & cli docs typo. (#5262) * Fixed api & cli docs typo. * Fix --------- Co-authored-by: Colin McDonnell --- docs/api/workers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/api/workers.md') diff --git a/docs/api/workers.md b/docs/api/workers.md index 1a4a09965..50fdb9c3d 100644 --- a/docs/api/workers.md +++ b/docs/api/workers.md @@ -130,7 +130,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href); worker.unref(); ``` -Note: `worker.unref()` is not available in browers. +Note: `worker.unref()` is not available in browsers. ### `worker.ref()` @@ -151,7 +151,7 @@ const worker = new Worker(new URL("worker.ts", import.meta.url).href, { }); ``` -Note: `worker.ref()` is not available in browers. +Note: `worker.ref()` is not available in browsers. ## Memory usage with `smol` -- cgit v1.2.3