Files
verify/frontend/node_modules/next/dist/lib/format-dynamic-import-path.d.ts
Mohamed Mathar Irfan ed6610d5d8 Initial project upload
2026-07-28 17:57:02 +05:30

10 lines
419 B
TypeScript

/**
* The path for a dynamic route must be URLs with a valid scheme.
*
* When an absolute Windows path is passed to it, it interprets the beginning of the path as a protocol (`C:`).
* Therefore, it is important to always construct a complete path.
* @param dir File directory
* @param filePath Absolute or relative path
*/
export declare const formatDynamicImportPath: (dir: string, filePath: string) => string;