diff options
author | 2021-11-23 16:35:45 -0800 | |
---|---|---|
committer | 2021-11-23 16:35:45 -0800 | |
commit | f82aa92c38e4042496379e57288e5e91a27d98de (patch) | |
tree | adda0cf3a972f3c5d5c658bd17dc0b8c1605dd9d /packages/bun-framework-next/text-encoder-polyfill.js | |
parent | 4e4f2058c2f086beefda1368c2db53f46fc4f6a0 (diff) | |
parent | 7660f727450908f322211e04a32dc69207d54044 (diff) | |
download | bun-f82aa92c38e4042496379e57288e5e91a27d98de.tar.gz bun-f82aa92c38e4042496379e57288e5e91a27d98de.tar.zst bun-f82aa92c38e4042496379e57288e5e91a27d98de.zip |
Merge pull request #65 from Jarred-Sumner/bun-framework-next-actions
Begin working on CI tasks for bun-framework-next
Diffstat (limited to 'packages/bun-framework-next/text-encoder-polyfill.js')
-rw-r--r-- | packages/bun-framework-next/text-encoder-polyfill.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/bun-framework-next/text-encoder-polyfill.js b/packages/bun-framework-next/text-encoder-polyfill.js index 3dd95009f..01c7cbbe8 100644 --- a/packages/bun-framework-next/text-encoder-polyfill.js +++ b/packages/bun-framework-next/text-encoder-polyfill.js @@ -35,6 +35,10 @@ Object.defineProperty(FastTextEncoder.prototype, "encoding", { value: "utf-8", }); +Object.defineProperty(FastTextEncoder.prototype, "encodeInto", { + value: "", +}); + /** * @param {string} string * @param {{stream: boolean}=} options |