diff options
author | 2023-05-31 21:15:49 -0400 | |
---|---|---|
committer | 2023-05-31 18:15:49 -0700 | |
commit | a7c7128cd7907b0f288e4488f60e289efa16d30c (patch) | |
tree | 5d2ec362639324c97cd34f22e9b4258e12afedcf | |
parent | 4c0145437679f879329df69c9a56e395e74e8280 (diff) | |
download | bun-a7c7128cd7907b0f288e4488f60e289efa16d30c.tar.gz bun-a7c7128cd7907b0f288e4488f60e289efa16d30c.tar.zst bun-a7c7128cd7907b0f288e4488f60e289efa16d30c.zip |
Fix typo in macro docs (#3144)
-rw-r--r-- | docs/bundler/macros.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bundler/macros.md b/docs/bundler/macros.md index 3c6be7097..3ffa49502 100644 --- a/docs/bundler/macros.md +++ b/docs/bundler/macros.md @@ -94,7 +94,7 @@ export async function getText() { } ``` -The transpiler implements specicial logic for serializing common data formats like `Response`, `Blob`, `TypedArray`. +The transpiler implements special logic for serializing common data formats like `Response`, `Blob`, `TypedArray`. - `TypedArray`: Resolves to a base64-encoded string. - `Response`: Bun will read the `Content-Type` and serialize accordingly; for instance, a `Response` with type `application/json` will be automatically parsed into an object and `text/plain` will be inlined as a string. Responses with an unrecognized or `undefined` `type` will be base-64 encoded. |