diff --git a/src/workerd/api/blob.h b/src/workerd/api/blob.h index 8d22fd0d35c..9fd0c9fc682 100644 --- a/src/workerd/api/blob.h +++ b/src/workerd/api/blob.h @@ -67,6 +67,7 @@ class Blob: public jsg::Object { JSG_TS_OVERRIDE({ bytes(): Promise; + arrayBuffer(): Promise; }); } diff --git a/src/workerd/api/http.h b/src/workerd/api/http.h index 3ecc5b926cb..b1d90f8b8fc 100644 --- a/src/workerd/api/http.h +++ b/src/workerd/api/http.h @@ -384,6 +384,7 @@ class Body: public jsg::Object { JSG_TS_OVERRIDE({ json(): Promise; bytes(): Promise; + arrayBuffer(): Promise; }); // Allow JSON body type to be specified } diff --git a/src/workerd/api/r2-bucket.h b/src/workerd/api/r2-bucket.h index d3a2cecd6fc..e6772e0f491 100644 --- a/src/workerd/api/r2-bucket.h +++ b/src/workerd/api/r2-bucket.h @@ -382,6 +382,7 @@ class R2Bucket: public jsg::Object { JSG_METHOD(blob); JSG_TS_OVERRIDE(R2ObjectBody { json(): Promise; + arrayBuffer(): Promise; }); }