Options Type — astro Architecture
Architecture documentation for the Options type/interface in types.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 35007d20_cddf_63ce_ed70_3f8ee64990bb["Options"] 8af4680b_39bf_0f3d_a1b5_99aa6a340529["types.ts"] 35007d20_cddf_63ce_ed70_3f8ee64990bb -->|defined in| 8af4680b_39bf_0f3d_a1b5_99aa6a340529 style 35007d20_cddf_63ce_ed70_3f8ee64990bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/transitions/types.ts lines 4–10
export type Options = {
history?: 'auto' | 'push' | 'replace';
info?: any;
state?: any;
formData?: FormData;
sourceElement?: Element; // more than HTMLElement, e.g. SVGAElement
};
Defined In
Source
Frequently Asked Questions
What is the Options type?
Options is a type/interface in the astro codebase, defined in packages/astro/src/transitions/types.ts.
Where is Options defined?
Options is defined in packages/astro/src/transitions/types.ts at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free