Unverified Commit a8b884e4 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Strip internals from `NextRequest` types (#82172)

parent ee284b8b
......@@ -12,6 +12,7 @@ export const INTERNALS = Symbol('internal request')
* Read more: [Next.js Docs: `NextRequest`](https://nextjs.org/docs/app/api-reference/functions/next-request)
*/
export class NextRequest extends Request {
/** @internal */
[INTERNALS]: {
cookies: RequestCookies
url: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment