Skip to content

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

@WangJincheng4869

Description

@WangJincheng4869

背景&目的

Image

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

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions