ResolveFontOptions Type — astro Architecture
Architecture documentation for the ResolveFontOptions type/interface in types.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f6cee441_cf71_eff9_196e_f35f03fe6982["ResolveFontOptions"] 0414cf8f_0404_f03b_316f_0d732aa66968["types.ts"] f6cee441_cf71_eff9_196e_f35f03fe6982 -->|defined in| 0414cf8f_0404_f03b_316f_0d732aa66968 style f6cee441_cf71_eff9_196e_f35f03fe6982 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/types.ts lines 262–271
export interface ResolveFontOptions<
FamilyOptions extends Record<string, any> | undefined | never = never,
> {
familyName: string;
weights: string[];
styles: Style[];
subsets: string[];
formats: FontType[];
options: [FamilyOptions] extends [never] ? undefined : FamilyOptions | undefined;
}
Defined In
Source
Frequently Asked Questions
What is the ResolveFontOptions type?
ResolveFontOptions is a type/interface in the astro codebase, defined in packages/astro/src/assets/fonts/types.ts.
Where is ResolveFontOptions defined?
ResolveFontOptions is defined in packages/astro/src/assets/fonts/types.ts at line 262.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free