diff options
author | 2023-07-19 23:59:15 -0700 | |
---|---|---|
committer | 2023-07-19 23:59:15 -0700 | |
commit | 53ad9b922f17de5568a1303ade1d82b49afae120 (patch) | |
tree | a511b84021d6901912d0ca71c6a13a4ad132c858 /docs/api/utils.md | |
parent | 0b365781a8ddbea40ec3259e5bf0435c9aebc0a6 (diff) | |
download | bun-53ad9b922f17de5568a1303ade1d82b49afae120.tar.gz bun-53ad9b922f17de5568a1303ade1d82b49afae120.tar.zst bun-53ad9b922f17de5568a1303ade1d82b49afae120.zip |
Docs & types for 0.7 (#3665)
* Docs & types for 0.7
* Tweak
* Update
* Tweaks
* Tweak
* Tweaks
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Diffstat (limited to 'docs/api/utils.md')
-rw-r--r-- | docs/api/utils.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api/utils.md b/docs/api/utils.md index 7366649b7..2723edf7c 100644 --- a/docs/api/utils.md +++ b/docs/api/utils.md @@ -247,7 +247,7 @@ Bun.deepEquals(new Foo(), { a: 1 }, true); // false ## `Bun.escapeHTML()` -`Bun.escapeHTML(value: string | object | number | boolean): boolean` +`Bun.escapeHTML(value: string | object | number | boolean): string` Escapes the following characters from an input string: @@ -402,7 +402,7 @@ The second argument supports the same set of configuration options as [`Bun.gzip ## `Bun.inflateSync()` -DEcompresses a `Uint8Array` using zlib's INFLATE algorithm. +Decompresses a `Uint8Array` using zlib's INFLATE algorithm. ```ts const buf = Buffer.from("hello".repeat(100)); |