Files
Tiber365/node_modules/astro/dist/vite-plugin-astro/query.d.ts

14 lines
347 B
TypeScript

export interface AstroQuery {
astro?: boolean;
src?: boolean;
type?: 'script' | 'template' | 'style' | 'custom';
index?: number;
lang?: string;
raw?: boolean;
}
export interface ParsedRequestResult {
filename: string;
query: AstroQuery;
}
export declare function parseAstroRequest(id: string): ParsedRequestResult;