- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
9 lines
273 B
TypeScript
9 lines
273 B
TypeScript
import type { NextApiRequestCookies } from '.';
|
|
/**
|
|
* Parse cookies from the `headers` of request
|
|
* @param req request object
|
|
*/
|
|
export declare function getCookieParser(headers: {
|
|
[key: string]: string | string[] | null | undefined;
|
|
}): () => NextApiRequestCookies;
|