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
  cdf71d4f_c28b_590e_6e15_f1084cf98ca5["SetupHookParams"]
  c981b0b6_feec_540f_f993_558bedd71f2c["index.ts"]
  cdf71d4f_c28b_590e_6e15_f1084cf98ca5 -->|defined in| c981b0b6_feec_540f_f993_558bedd71f2c
  style cdf71d4f_c28b_590e_6e15_f1084cf98ca5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/integrations/markdoc/src/index.ts lines 10–14

type SetupHookParams = HookParameters<'astro:config:setup'> & {
	// `contentEntryType` is not a public API
	// Add type defs here
	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/markdoc/src/index.ts.
Where is SetupHookParams defined?
SetupHookParams is defined in packages/integrations/markdoc/src/index.ts at line 10.

Analyze Your Own Codebase

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

Try Supermodel Free