Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
531 B
Text
13 lines
531 B
Text
/**
|
|
* Clones a response by teeing the body so we can return two independent
|
|
* ReadableStreams from it. This avoids the bug in the undici library around
|
|
* response cloning.
|
|
*
|
|
* After cloning, the original response's body will be consumed and closed.
|
|
*
|
|
* @see https://github.com/vercel/next.js/pull/73274
|
|
*
|
|
* @param original - The original response to clone.
|
|
* @returns A tuple containing two independent clones of the original response.
|
|
*/
|
|
export declare function cloneResponse(original: Response): [Response, Response];
|