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

期望提供一份中文版本的d.ts文件 #13 #14

Open
nxboo opened this issue Jun 2, 2020 · 3 comments
Open

期望提供一份中文版本的d.ts文件 #13 #14

nxboo opened this issue Jun 2, 2020 · 3 comments

Comments

@nxboo
Copy link

nxboo commented Jun 2, 2020

可以另起一个名字吧?比如:agora-rtc-sdk-zh。多加一份。
声网的服务还是国内用户多。对于英文不好的人,这份.d.ts文件失去了文档的功能,还是要对着官网文档开发,很不方便

@nxboo
Copy link
Author

nxboo commented Jun 3, 2020

大佬们,帮忙出一个啊

1 similar comment
@nxboo
Copy link
Author

nxboo commented Jun 4, 2020

大佬们,帮忙出一个啊

@disoul
Copy link

disoul commented Jun 7, 2020

typescript 的 DefinitelyTyped 是和原始 package 名一一对应的,如果要出一个 @types/agora-rtc-sdk-zh,就只能适用于 agora-rtc-sdk-zh 这个 package。而 Agora 目前的 release 流程只维护了 agora-rtc-sdk 这一个仓库,目前也不会考虑因为这个原因增加维护成本。因为我们认为 .d.ts 的功能主要是让 ts 用户可以进行类型检查,而不是文档。

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

2 participants