vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
9 lines (8 loc) • 375 B
TypeScript
export type { FileType };
export { fileTypes };
export { isValidFileType };
export { determineFileType };
declare const fileTypes: readonly [".page", ".page.server", ".page.route", ".page.client", ".css"];
type FileType = (typeof fileTypes)[number];
declare function isValidFileType(filePath: string): boolean;
declare function determineFileType(filePath: string): FileType;