vike
Version:
(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.
9 lines (8 loc) • 467 B
TypeScript
export { getErrorPageId };
export { isErrorPageId };
export { isErrorPage };
import type { PageConfigRuntime } from '../types/PageConfig.js';
import type { PageFile } from './getPageFiles.js';
declare function getErrorPageId(pageFilesAll: PageFile[], pageConfigs: PageConfigRuntime[]): string | null;
declare function isErrorPageId(pageId: string, _isV1Design: false): boolean;
declare function isErrorPage(pageId: string, pageConfigs: PageConfigRuntime[]): boolean;