constructor() — astro Function Reference
Architecture documentation for the constructor() function in dev-url-resolver.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 276af4f5_a76b_9c2e_1c3b_45eef2af07d7["constructor()"] 4df4711d_e5fd_c55f_138c_4977d523f9f9["DevUrlResolver"] 276af4f5_a76b_9c2e_1c3b_45eef2af07d7 -->|defined in| 4df4711d_e5fd_c55f_138c_4977d523f9f9 style 276af4f5_a76b_9c2e_1c3b_45eef2af07d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/infra/dev-url-resolver.ts lines 10–19
constructor({
base,
searchParams,
}: {
base: string;
searchParams: URLSearchParams;
}) {
this.#base = base;
this.#searchParams = searchParams;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does constructor() do?
constructor() is a function in the astro codebase, defined in packages/astro/src/assets/fonts/infra/dev-url-resolver.ts.
Where is constructor() defined?
constructor() is defined in packages/astro/src/assets/fonts/infra/dev-url-resolver.ts at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free