diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-09-10 15:57:17 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-09-10 10:57:17 -0400 |
commit | 0b757f37371474da63db341b831d83539df28df6 (patch) | |
tree | d5783942d847762f0cde7d387f8e81f1af924b28 /js/body_test.ts | |
parent | 2a83327a21e83180a21afd428b11aa03e3080346 (diff) |
Expose the DOM Body interface globally (#2903)
Diffstat (limited to 'js/body_test.ts')
-rw-r--r-- | js/body_test.ts | 4 |
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 = [ |