OnlyObject Type — astro Architecture
Architecture documentation for the OnlyObject type/interface in i18n.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 5b0f30c1_f7fd_3210_bb32_6f2869bec864["OnlyObject"] 113cc879_696f_ac71_941f_004a5fb4282c["i18n.ts"] 5b0f30c1_f7fd_3210_bb32_6f2869bec864 -->|defined in| 113cc879_696f_ac71_941f_004a5fb4282c style 5b0f30c1_f7fd_3210_bb32_6f2869bec864 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/virtual-modules/i18n.ts lines 344–344
type OnlyObject<T> = T extends object ? T : never;
Defined In
Source
Frequently Asked Questions
What is the OnlyObject type?
OnlyObject is a type/interface in the astro codebase, defined in packages/astro/src/virtual-modules/i18n.ts.
Where is OnlyObject defined?
OnlyObject is defined in packages/astro/src/virtual-modules/i18n.ts at line 344.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free