diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2018-12-07 05:01:15 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-12-06 10:01:15 -0800 |
commit | 6cc89b9e272440d93b6354f098031c3a22803686 (patch) | |
tree | 4589fb19088386f049ed8c6f488386772dd27684 /js/dom_types.ts | |
parent | 60c008d23b2bdad333711b43148a5053e83a62cc (diff) |
Use alternate TextEncoder/TextDecoder implementation (#1281)
This is faster and smaller.
Diffstat (limited to 'js/dom_types.ts')
-rw-r--r-- | js/dom_types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/dom_types.ts b/js/dom_types.ts index 22f704ee4..a033dc376 100644 --- a/js/dom_types.ts +++ b/js/dom_types.ts @@ -13,6 +13,8 @@ See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. *******************************************************************************/ +export type BufferSource = ArrayBufferView | ArrayBuffer; + export type HeadersInit = | Headers | Array<[string, string]> |