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

[Feature]: h 函数无法类型推导,需要显性安装 preact 库才可以 #2068

Open
WangJincheng4869 opened this issue Feb 13, 2025 · 0 comments

Comments

@WangJincheng4869
Copy link
Contributor

背景&目的

Image

是不是因为直接这么导出导致无法推导,是不是二封一下或者 TS 是否有什么方式能解决类似的问题。这样在外部就无需显性安装 preact 库了,以免版本不同出现意想不到的问题。

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant