Home / Type/ State Type — astro Architecture

State Type — astro Architecture

Architecture documentation for the State type/interface in router.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  12ac5f5e_22ea_4cba_4d38_6ac6fd468921["State"]
  2b5c33e2_176e_e839_f05f_7f10493f4f74["router.ts"]
  12ac5f5e_22ea_4cba_4d38_6ac6fd468921 -->|defined in| 2b5c33e2_176e_e839_f05f_7f10493f4f74
  style 12ac5f5e_22ea_4cba_4d38_6ac6fd468921 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/transitions/router.ts lines 14–18

type State = {
	index: number;
	scrollX: number;
	scrollY: number;
};

Frequently Asked Questions

What is the State type?
State is a type/interface in the astro codebase, defined in packages/astro/src/transitions/router.ts.
Where is State defined?
State is defined in packages/astro/src/transitions/router.ts at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free