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

Support linking to built-in types, all lowercase #90

Open
OmgImAlexis opened this issue Sep 9, 2019 · 1 comment
Open

Support linking to built-in types, all lowercase #90

OmgImAlexis opened this issue Sep 9, 2019 · 1 comment

Comments

@OmgImAlexis
Copy link

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 gajus/eslint-plugin-jsdoc#25 (comment)

@onury onury changed the title Support linking to all natives Support linking to built-in types, all lowercase Jan 22, 2020
@onury
Copy link
Owner

onury commented Jan 22, 2020

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?

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