summaryrefslogtreecommitdiff
path: root/js/dom_types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dom_types.ts')
-rw-r--r--js/dom_types.ts2
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]>