/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/request
NameSizeModeActions
connection.d.ts2540666editdlrm
connection.js71300666editdlrm
connection.js.map84140666editdlrm
cookies.d.ts17770666editdlrm
cookies.js206190666editdlrm
cookies.js.map314000666editdlrm
draft-mode.d.ts19250666editdlrm
draft-mode.js138650666editdlrm
draft-mode.js.map209660666editdlrm
fallback-params.d.ts1790666editdlrm
fallback-params.js13400666editdlrm
fallback-params.js.map21290666editdlrm
headers.d.ts23470666editdlrm
headers.js177520666editdlrm
headers.js.map267750666editdlrm
params.d.ts23130666editdlrm
params.js272210666editdlrm
params.js.map393300666editdlrm
pathname.d.ts2000666editdlrm
pathname.js43830666editdlrm
pathname.js.map61790666editdlrm
root-params.d.ts1880666editdlrm
root-params.js143720666editdlrm
root-params.js.map184820666editdlrm
search-params.d.ts24740666editdlrm
search-params.js330320666editdlrm
search-params.js.map474590666editdlrm
utils.d.ts4870666editdlrm
utils.js31660666editdlrm
utils.js.map31690666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/request/cookies.d.ts (1777B)
import { type ReadonlyRequestCookies } from '../web/spec-extension/adapters/request-cookies'; /** * In this version of Next.js `cookies()` returns a Promise however you can still reference the properties of the underlying cookies object * synchronously to facilitate migration. The `UnsafeUnwrappedCookies` type is added to your code by a codemod that attempts to automatically * updates callsites to reflect the new Promise return type. There are some cases where `cookies()` cannot be automatically converted, namely * when it is used inside a synchronous function and we can't be sure the function can be made async automatically. In these cases we add an * explicit type case to `UnsafeUnwrappedCookies` to enable typescript to allow for the synchronous usage only where it is actually necessary. * * You should should update these callsites to either be async functions where the `cookies()` value can be awaited or you should call `cookies()` * from outside and await the return value before passing it into this function. * * You can find instances that require manual migration by searching for `UnsafeUnwrappedCookies` in your codebase or by search for a comment that * starts with `@next-codemod-error`. * * In a future version of Next.js `cookies()` will only return a Promise and you will not be able to access the underlying cookies object directly * without awaiting the return value first. When this change happens the type `UnsafeUnwrappedCookies` will be updated to reflect that is it no longer * usable. * * This type is marked deprecated to help identify it as target for refactoring away. * * @deprecated */ export type UnsafeUnwrappedCookies = ReadonlyRequestCookies; export declare function cookies(): Promise;