summaryrefslogtreecommitdiff
path: root/js/body_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/body_test.ts')
-rw-r--r--js/body_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/body_test.ts b/js/body_test.ts
index f2daf725e..ec76e9072 100644
--- a/js/body_test.ts
+++ b/js/body_test.ts
@@ -3,11 +3,11 @@ import { test, testPerm, assertEquals, assert } from "./test_util.ts";
// just a hack to get a body object
// eslint-disable-next-line @typescript-eslint/no-explicit-any
-function buildBody(body: any): domTypes.Body {
+function buildBody(body: any): Body {
const stub = new Request("", {
body: body
});
- return stub as domTypes.Body;
+ return stub as Body;
}
const intArrays = [