/* Copyright 2018 Google LLC Use of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT. */ import './_version.js'; export type StreamSource = Response | ReadableStream | BodyInit; // * * * IMPORTANT! * * * // ------------------------------------------------------------------------- // // jdsoc type definitions cannot be declared above TypeScript definitions or // they'll be stripped from the built `.js` files, and they'll only be in the // `d.ts` files, which aren't read by the jsdoc generator. As a result we // have to put declare them below. /** * @typedef {Response|ReadableStream|BodyInit} StreamSource * @memberof workbox-streams */