docma icon indicating copy to clipboard operation
docma copied to clipboard

Support linking to built-in types, all lowercase

Open OmgImAlexis opened this issue 5 years ago • 1 comments

Currently I have to use Object over object as docma doesn't link to MDN for the lowercase version.

object Object
Screen Shot 2019-09-09 at 12 53 16 pm Screen Shot 2019-09-09 at 12 53 27 pm

See https://github.com/gajus/eslint-plugin-jsdoc/issues/25#issuecomment-284173145

OmgImAlexis avatar Sep 09 '19 03:09 OmgImAlexis

I'm not sure about this. Javascript has no type called object. (Don't confuse typeof x === 'object' meta comparison with Object.)

What if you use object as a type definition in your code?

onury avatar Jan 22 '20 04:01 onury