kentcdodds / mdx-bundler

🦤 Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports!
MIT License
1.78k stars 75 forks source link

fixed TypeError #198

Closed priyang12 closed 1 year ago

priyang12 commented 1 year ago

also, replace npm run test:update with npm run test

What: it fixes the type checking in tests.

Why: it was making the tests fail.

How: replaced MDXExport<ExportedObject, Frontmatter> with ReturnType<MDXExport<ExportedObject, Frontmatter>>

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Merging #198 (131bb22) into main (37f4027) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #198   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          280       280           
  Branches         1         1           
=========================================
  Hits           280       280           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

kentcdodds commented 1 year ago

@All-contributors please add @priyang12 for code and docs

allcontributors[bot] commented 1 year ago

@kentcdodds

I've put up a pull request to add @priyang12! :tada:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 9.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: