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 定义有问题 #35

Closed
jas0ncn opened this issue Aug 20, 2019 · 1 comment
Closed

TypeScript 定义有问题 #35

jas0ncn opened this issue Aug 20, 2019 · 1 comment

Comments

@jas0ncn
Copy link

jas0ncn commented Aug 20, 2019

你这个库不是使用 ts 写的吗?可以再 tsconfig.jsoncompiler options 里加一个 declaration,自动生成类型定义,而不是你这样定义啊。。。所有的 props 都是必选的吗?整个项目都挂了....

https://www.typescriptlang.org/docs/handbook/compiler-options.html

@kkfor
Copy link
Owner

kkfor commented Aug 21, 2019

@jas0ncn 感谢指点

@kkfor kkfor closed this as completed Sep 1, 2019
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