No successful run was found on main (c96711d) during the generation of this report, so 577d051 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
feat(mdx): add TypeScript types for Content components prop
Adds proper TypeScript support for passing custom components to MDX Content component via the components prop.
Changes:
- Add MDXContentProps interface defining the components prop
- Add MDXContent type that extends AstroComponentFactory with typed props
- Update MDX render type to use MDXContent instead of plain function
- Maintains link to base AstroComponentFactory type via intersection
This addresses part of issue #14490 by providing TypeScript intellisense and type checking for the components prop when using await render().
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
4d9f8f5
1 day ago
by claude
+0.03%
chore: add changeset for MDX Content component types
Adds changeset documenting the new TypeScript support for the components prop on MDX Content component.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2e2512c
1 day ago
by claude
+0.07%
Update .changeset/mdx-content-component-types.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
28bc46b
15 hours ago
by matthewp
+0.11%
Update packages/astro/src/types/public/content.ts
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
f56dd3a
15 hours ago
by matthewp
+0.31%
Merge branch 'main' into claude/investigate-astro-issue-011CUJzAzC4bZ5oJVmmmUqBu