I am trying to find the correct syntax for specifying outer classes as params / returns in JSDOC.
so for example i have:
import redux from 'redux'; export function initState(state=initialState) { store = redux.createStore(theReducer, Immutable.fromJS(state)); return store; }
the problem is that if I use this in webstorm, the “Go To Declaration” on the Store sends me to a completely unnecessary place.
which means that either my syntax is incorrect (what is correct?), or is this a bug in Webstorm
source share