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

希望加上对typescript的类型支持 #18

Closed
sharebravery opened this issue Dec 8, 2022 · 4 comments
Closed

希望加上对typescript的类型支持 #18

sharebravery opened this issue Dec 8, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@sharebravery
Copy link

Feature or optimization description

Applicable scene

@sharebravery sharebravery added the enhancement New feature or request label Dec 8, 2022
@tzfun
Copy link
Owner

tzfun commented Dec 8, 2022

实现和使用的语言是无关的,你是希望源码支持ts还是使用层面支持ts?如果是使用的话请举出一些例子。

@sharebravery
Copy link
Author

使用层面支持ts,拥有类型提示,类似这种提示
image

@tzfun
Copy link
Owner

tzfun commented Dec 9, 2022

这个是IDE扫描了Dependence的源码后提示的,js也有类似的提示,但是需要源码,当然我不知道你这种样式的提示是否是ts独有的,如果是那么就需要源码用ts重构,并且在依赖包里打入source,改造成本与效益比太大目前暂时不考虑重构。后续出其他组件或者有重构计划的时候再考虑。

@tzfun tzfun closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
@tzfun tzfun mentioned this issue Dec 16, 2022
@birdmanmandbir
Copy link

ts支持开发完成,测试中 @sharebravery
#22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants