'How to see JS documentation in VS Code rather than 'any'

How do I configure VSCode to provide JS documentation, for example on the filter method? Whenever I hover over filter, I get any which is highly useless.

enter image description here

I've looked at this SO question and was able to get ⌘ + Shift + Space working for triggering parameter hints, but that only works inside parentheses where the parameters go.

(Show definition preview hover doesn't work for me either as per this answer, which makes me sad.)

I've even reinstalled VS Code.

I've tried installing docs view, but that gets any too:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source