diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/node/polyfills/stream/promises.mjs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/node/polyfills/stream/promises.mjs b/ext/node/polyfills/stream/promises.mjs index 98fe38e0a..aebbfae53 100644 --- a/ext/node/polyfills/stream/promises.mjs +++ b/ext/node/polyfills/stream/promises.mjs @@ -1,7 +1,9 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. // Copyright Joyent and Node contributors. All rights reserved. MIT license. -import { finished, pipeline } from "ext:deno_node/_stream.mjs"; +import { Stream } from "ext:deno_node/_stream.mjs"; + +const { finished, pipeline } = Stream.promises; export default { finished, |