@typespec/ts-http-runtime
Version:
Isomorphic client library for making HTTP requests in node.js and browser.
1 lines • 648 B
Source Map (JSON)
{"version":3,"file":"types-browser.mjs","sourceRoot":"","sources":["../../src/types-browser.mts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * `NodeJS.ReadableStream` is not available in the browser.\n *\n * @public\n */\nexport type NodeReadableStream = never;\n\n/**\n * `Buffer` is not available in the browser.\n *\n * @public\n */\nexport type NodeBuffer = never;\n\n/**\n * Re-export of the Web `ReadableStream` for use in platform-neutral code.\n *\n * @public\n */\nexport type WebReadableStream<R = any> = ReadableStream<R>;\n"]}