Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
11
node_modules/astro/dist/runtime/server/render/component.d.ts
generated
vendored
Normal file
11
node_modules/astro/dist/runtime/server/render/component.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { RouteData, SSRResult } from '../../../@types/astro.js';
|
||||
import { type RenderInstance } from './common.js';
|
||||
import { type ComponentSlots } from './slot.js';
|
||||
declare const needsHeadRenderingSymbol: unique symbol;
|
||||
export declare function renderComponent(result: SSRResult, displayName: string, Component: unknown, props: Record<string | number, any>, slots?: ComponentSlots): Promise<RenderInstance>;
|
||||
export declare function renderComponentToString(result: SSRResult, displayName: string, Component: unknown, props: Record<string | number, any>, slots?: any, isPage?: boolean, route?: RouteData): Promise<string>;
|
||||
export type NonAstroPageComponent = {
|
||||
name: string;
|
||||
[needsHeadRenderingSymbol]: boolean;
|
||||
};
|
||||
export {};
|
Reference in New Issue
Block a user