-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Types are breaking #868
Labels
bug
Something isn't working
Comments
声明 marked 作为依赖对于下游环境来说可能更加友好,any能避免带来的安装时间增加,但对TS环境不友好。 |
还有一种可以尝试的解决方案是使用 rollup-plugin-dts 之类的插件把 marked 的类型打包进去。 |
qwqcode
added a commit
that referenced
this issue
May 11, 2024
Any timetable for new versions? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See 170db0f#diff-053321e287571cb967ea080e97a985fc8b87511b89ae85eb079a7c81ef7c22c9, it introduce
markedOptions
in config options, however, the package is not declaring@types/marked
as deps, andmarked
itself does not have a type declaration file.So it will lead to issues like this in downstream projects, since the option is not typed:
The text was updated successfully, but these errors were encountered: