astro
Version:
Astro is a modern site builder with web best practices, performance, and DX front-of-mind.
15 lines (14 loc) • 344 B
TypeScript
interface AstroQuery {
astro?: boolean;
src?: boolean;
type?: 'script' | 'template' | 'style' | 'custom';
index?: number;
lang?: string;
raw?: boolean;
}
interface ParsedRequestResult {
filename: string;
query: AstroQuery;
}
export declare function parseAstroRequest(id: string): ParsedRequestResult;
export {};