Skip to content

jsdoc autocomplete should prefer {Object} over {any} in JavaScript #14242

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

Closed
mjbvz opened this issue Feb 22, 2017 · 2 comments
Closed

jsdoc autocomplete should prefer {Object} over {any} in JavaScript #14242

mjbvz opened this issue Feb 22, 2017 · 2 comments
Assignees
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue VS Code Tracked There is a VS Code equivalent to this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Feb 22, 2017

From @Tyriar on February 22, 2017 18:9

#21031

any is a TypeScript concept, Object is the most generic type in JavaScript which is more meaningful to non-TS devs:

image

Copied from original issue: microsoft/vscode#21179

@mjbvz mjbvz self-assigned this Feb 22, 2017
@mjbvz mjbvz added Bug A bug in TypeScript javascript labels Feb 22, 2017
@mjbvz mjbvz added VS Code Tracked There is a VS Code equivalent to this issue and removed Bug A bug in TypeScript javascript labels Feb 22, 2017
@mjbvz mjbvz removed their assignment Feb 22, 2017
@mhegazy mhegazy added Salsa Bug A bug in TypeScript labels Feb 22, 2017
@mhegazy mhegazy added this to the TypeScript 2.3 milestone Feb 22, 2017
@mhegazy mhegazy self-assigned this Feb 22, 2017
@DanielRosenwasser
Copy link
Member

I would think that if anything you'd want *, not Object.

@Tyriar
Copy link
Member

Tyriar commented Feb 22, 2017

@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Feb 24, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

4 participants