From 870337c6cd8c6a269cec7f4cab74a77419880b64 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 22 Mar 2021 19:43:10 +0900 Subject: [PATCH] typo --- docs/runtime/workers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/runtime/workers.md b/docs/runtime/workers.md index 82e1e5b2db..d1a47e6d90 100644 --- a/docs/runtime/workers.md +++ b/docs/runtime/workers.md @@ -11,7 +11,7 @@ the `type: "module"` option when creating a new worker. Use of relative module specifiers in the main worker are only supported with `--location ` passed on the CLI. This is not recommended for portability. -You can instead use the `URL` contructor and `import.meta.url` to easily create +You can instead use the `URL` constructor and `import.meta.url` to easily create a specifier for some nearby script. Dedicated workers, however, have a location and this capability by default.