UNPKG

pathpida

Version:

TypeScript friendly pages and static path generator for Next.js

7 lines 377 B
export type Slugs = string[]; export declare const createMethods: (indent: string, importName: string | undefined, slugs: Slugs, pathname: string) => string; export declare const parsePagesDir: (input: string, output: string, ignorePath: string | undefined, pageExtensions?: string[]) => { imports: string[]; text: string; }; //# sourceMappingURL=parsePagesDir.d.ts.map