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

Rebuild the project with Typescript. #58

Closed
ghost opened this issue Aug 29, 2021 · 1 comment
Closed

Rebuild the project with Typescript. #58

ghost opened this issue Aug 29, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 29, 2021

I am a typescript user, but this library just uses JSDoc provide type safe.
So i open this issue.
I think rebuild is a good idea, it can not only help users who use TypeScript, but also make this project more convenient to maintain.
I will help you and find more people to help you (possible).

加油!

@fantasticsoul
Copy link
Contributor

感谢你的建议,将来会考虑,但因整个代码基于ts重构代价比较大,现阶段以稳定为主,事实上react源码里内部基于 flow 来标记类型同时对外提供了一份完整的d.ts 类型声明来保证用户层面的类型安全,concent也是内部基于 jsdoc 来标记类型同时对外提供了一份完整的d.ts文件,同时也配套提供了一个完整的ts项目实例哦,https://github.com/tnfe/tntweb-admin

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

No branches or pull requests

1 participant