Home / Function/ updateTSConfigForFramework() — astro Function Reference

updateTSConfigForFramework() — astro Function Reference

Architecture documentation for the updateTSConfigForFramework() function in tsconfig.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  4a99d1ca_c6bc_dc2c_04d5_e59ac16025e4["updateTSConfigForFramework()"]
  1275993c_9183_58e3_869f_4f9529e67337["tsconfig.ts"]
  4a99d1ca_c6bc_dc2c_04d5_e59ac16025e4 -->|defined in| 1275993c_9183_58e3_869f_4f9529e67337
  1d01e401_123b_b341_1e6a_e208b84a2f48["deepMergeObjects()"]
  4a99d1ca_c6bc_dc2c_04d5_e59ac16025e4 -->|calls| 1d01e401_123b_b341_1e6a_e208b84a2f48
  style 4a99d1ca_c6bc_dc2c_04d5_e59ac16025e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/config/tsconfig.ts lines 133–142

export function updateTSConfigForFramework(
	target: TSConfig,
	framework: frameworkWithTSSettings,
): TSConfig {
	if (!presets.has(framework)) {
		return target;
	}

	return deepMergeObjects(target, presets.get(framework)!);
}

Domain

Subdomains

Frequently Asked Questions

What does updateTSConfigForFramework() do?
updateTSConfigForFramework() is a function in the astro codebase, defined in packages/astro/src/core/config/tsconfig.ts.
Where is updateTSConfigForFramework() defined?
updateTSConfigForFramework() is defined in packages/astro/src/core/config/tsconfig.ts at line 133.
What does updateTSConfigForFramework() call?
updateTSConfigForFramework() calls 1 function(s): deepMergeObjects.

Analyze Your Own Codebase

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

Try Supermodel Free