Home / Type/ DotKeys Type — astro Architecture

DotKeys Type — astro Architecture

Architecture documentation for the DotKeys type/interface in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  20603a25_f903_8695_ecbd_9d587382487c["DotKeys"]
  942f8bed_424f_0805_6c0b_154ed0869816["index.ts"]
  20603a25_f903_8695_ecbd_9d587382487c -->|defined in| 942f8bed_424f_0805_6c0b_154ed0869816
  style 20603a25_f903_8695_ecbd_9d587382487c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/preferences/index.ts lines 9–15

type DotKeys<T> = T extends object
	? {
			[K in keyof T]: `${Exclude<K, symbol>}${DotKeys<T[K]> extends never
				? ''
				: `.${DotKeys<T[K]>}`}`;
		}[keyof T]
	: never;

Frequently Asked Questions

What is the DotKeys type?
DotKeys is a type/interface in the astro codebase, defined in packages/astro/src/preferences/index.ts.
Where is DotKeys defined?
DotKeys is defined in packages/astro/src/preferences/index.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free