Urara-Blog/node_modules/.pnpm-store/v3/files/0f/53ca8f1a3fd67bd5c7e101e91aad812707a27f659b0ee59f2b43ce2fe22284dfbd3ee63ce261a47aedb22e67fc990bb030590e94546a8bf76140c60bf7fb32
2022-08-14 01:14:53 +08:00

17 lines
690 B
Text

import '../_version.js';
/**
* This is a utility method that determines whether the current browser supports
* the features required to create streamed responses. Currently, it checks if
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
* is available.
*
* @private
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
* `'text/html'` will be used by default.
* @return {boolean} `true`, if the current browser meets the requirements for
* streaming responses, and `false` otherwise.
*
* @memberof workbox-streams
*/
declare function createHeaders(headersInit?: {}): Headers;
export { createHeaders };