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

JS编码规范v1.2类注释部分与JSDoc3对应tag冲突 #8

Open
bobshen opened this issue Aug 19, 2014 · 1 comment
Open

JS编码规范v1.2类注释部分与JSDoc3对应tag冲突 #8

bobshen opened this issue Aug 19, 2014 · 1 comment

Comments

@bobshen
Copy link

bobshen commented Aug 19, 2014

现有规范中@constructor的作用是用于标识这是个构造函数,而JSDoc3中@constructor@class的同义用法,需要指定类名

如果项目中想用JSDoc作为文档化工具,可以不按照规范来么?

@hax
Copy link

hax commented Nov 10, 2015

个人感觉jsdoc里关于类型的标注用处不大……还不如直接上typescript/flow的类型标注,反正babel有transform会删掉类型信息。

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