Home / Type/ SetupHookParams Type — astro Architecture

SetupHookParams Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  f42145f7_fb78_fd07_5de3_8e936a16a6d9["SetupHookParams"]
  4dbca764_76ba_1a5b_79ab_f6ddff0cb420["index.ts"]
  f42145f7_fb78_fd07_5de3_8e936a16a6d9 -->|defined in| 4dbca764_76ba_1a5b_79ab_f6ddff0cb420
  style f42145f7_fb78_fd07_5de3_8e936a16a6d9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/mdx/src/index.ts lines 29–34

type SetupHookParams = HookParameters<'astro:config:setup'> & {
	// `addPageExtension` and `contentEntryType` are not a public APIs
	// Add type defs here
	addPageExtension: (extension: string) => void;
	addContentEntryType: (contentEntryType: ContentEntryType) => void;
};

Frequently Asked Questions

What is the SetupHookParams type?
SetupHookParams is a type/interface in the astro codebase, defined in packages/integrations/mdx/src/index.ts.
Where is SetupHookParams defined?
SetupHookParams is defined in packages/integrations/mdx/src/index.ts at line 29.

Analyze Your Own Codebase

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

Try Supermodel Free