js2-mode does not have
eldoc-mode support, I was wondering if I could get some similar functionality to
js2-mode with the help of
tern-mode has a command
tern-get-type which will return the type of the thing under cursor in the minibuffer. How can I get this command to run automatically when cursor is idle (preferably after a small delay)?