You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example where the returns statement does not work:
/** * A promisified version of passport.authenticate to be used in async functions. * * @param {string} strategy - The strategy for the provider to use for the authentication flow * @param {express.Request} req - The Express request object * @param {express.Response} res - The Express request object * @param {Function} next - The next Express middleware function * * @returns {[user: Object, info: string]} The user and info */
This reports Syntax error in type: [user: Object, info: string] eslintjsdoc/valid-types)
The text was updated successfully, but these errors were encountered:
I have am using https://github.com/gajus/eslint-plugin-jsdoc/ with
settings.jsdoc.mode: "typescript"
.An example where the returns statement does not work:
This reports
Syntax error in type: [user: Object, info: string] eslintjsdoc/valid-types)
The text was updated successfully, but these errors were encountered: