I'm encountering issues while trying to use Js docs for generating static documentation of my project. When attempting to run the js doc command, I am faced with numerous parse errors specifically in areas where I have curried functions. Strangely, my code runs without any problems except when it comes to js docs. Is this a library error or did I make a mistake somewhere?
/**Responsible for fetching the data that will be loaded into the graph within the dialog
*
* @param {function} dispatch redux dispatch function
* @param {String} timeMode time mode used on metric page Example: 'Monthly'
* @param {String}
dialogType type of the dialog used to request the correct data and render the body Example: 'WARN_NETWORK_DRIVE'
* @returns {(timeMode: String) => (dialogType: String) => Promise<void>}
*/
export const fetchGraphicData = dispatch => timeMode => async dialogType => {...function logic }
Error Encountered: https://i.sstatic.net/JWR3O.png