Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make sure frontmatter types flow through to MDXRemote #351

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

BRKalow
Copy link
Contributor

@BRKalow BRKalow commented Mar 1, 2023

  • Ensure the tests are type checked
  • Add statements in tests to validate types are passed through correctly
  • Update MDXRemote to accept generic types so they flow through correctly from the result of typing serialize()

closes #349

Copy link
Contributor

@thiskevinwang thiskevinwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me!

@BRKalow BRKalow merged commit e4c7a69 into main Mar 1, 2023
@BRKalow BRKalow deleted the brk.fix/frontmatter-types branch March 1, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting type error starting from today
2 participants