Closed mashehu closed 6 months ago
Hi can this be merged? I'm also running into these issues
Can you resolve conflicts? Let me know if you need help.
I'll continue this effort in a separate PR, probably by refactoring the source code itself to TypeScript and building type definitions that way. Seems like the safest way instead of maintaining them separately.
Btw, I seem to recall being able to use this plugin recently without type errors, though 🤔 maybe @mdx-js/rollup
didn't have the latest unified
dependency or whatever.
Thanks for your contribution, @mashehu! I'll report back once I make a release. Whoever else is interested can follow #84.
This should fix the following typescript errors (when using the latest version of unified in
@astrojs/markdown-remark
):