diff options
author | 2023-09-12 21:50:05 -0400 | |
---|---|---|
committer | 2023-09-12 18:50:05 -0700 | |
commit | 263382103f47ce6f7063ad07d34664718b4c1ea7 (patch) | |
tree | 20b7954f6f99de6e6472bd1e4a05df72e9e88ae7 /docs/api/transpiler.md | |
parent | 8777c3f72c8aa0dfef73a52c66887c0faaf41401 (diff) | |
download | bun-263382103f47ce6f7063ad07d34664718b4c1ea7.tar.gz bun-263382103f47ce6f7063ad07d34664718b4c1ea7.tar.zst bun-263382103f47ce6f7063ad07d34664718b4c1ea7.zip |
docs: fix typos (#5151)
Diffstat (limited to '')
-rw-r--r-- | docs/api/transpiler.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/transpiler.md b/docs/api/transpiler.md index 6d81a1ef9..ede4ee7cc 100644 --- a/docs/api/transpiler.md +++ b/docs/api/transpiler.md @@ -76,7 +76,7 @@ await transpiler.transform("<div>hi!</div>", "tsx"); ``` {% details summary="Nitty gritty" %} -The `.tranform()` method runs the transpiler in Bun's worker threadpool, so if you run it 100 times, it will run it across `Math.floor($cpu_count * 0.8)` threads, without blocking the main JavaScript thread. +The `.transform()` method runs the transpiler in Bun's worker threadpool, so if you run it 100 times, it will run it across `Math.floor($cpu_count * 0.8)` threads, without blocking the main JavaScript thread. If your code uses a macro, it will potentially spawn a new copy of Bun's JavaScript runtime environment in that new thread. {% /details %} |