kjelsrud.dev/node_modules/astro/dist/vite-plugin-astro/query.d.ts
2023-07-19 21:31:30 +02:00

14 lines
407 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;
export declare function isAstroScript(id: string): boolean;