Open dandv opened 9 years ago
See https://github.com/jsdoc3/jsdoc/issues/1046:
At http://usejsdoc.org/tags-type.html I see "number", "boolean", "string" and "Array". At http://usejsdoc.org/tags-returns.html I see Titlecase: "Number", "Boolean", "Array".
At http://usejsdoc.org/tags-type.html I see "number", "boolean", "string" and "Array".
At http://usejsdoc.org/tags-returns.html I see Titlecase: "Number", "Boolean", "Array".
These are different types—this isn't a bug.
number etc are the primitive types, but Number is the object form (think new Number(10)).
number
Number
new Number(10)
See https://github.com/jsdoc3/jsdoc/issues/1046: