- 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
6 lines
403 B
TypeScript
6 lines
403 B
TypeScript
import type { IncomingMessage, ServerResponse } from 'http';
|
|
import send from 'next/dist/compiled/send';
|
|
export declare function serveStatic(req: IncomingMessage, res: ServerResponse, path: string, opts?: Parameters<typeof send>[2]): Promise<void>;
|
|
export declare const getContentType: (extWithoutDot: string) => string | null;
|
|
export declare const getExtension: (contentType: string) => string | null;
|