-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Labels
Description
Expected behavior
Should allow type guards
Working example:
Actual behavior
ESLint Config
{
"extends": ["plugin:jsdoc/recommended"]
}ESLint sample
/**
* String Type-Guard
*
* @param {any} value Value
* @returns {value is string} `true` if value is of type string, otherwise `false`
*/
function isString(value) {
return typeof value === "string";
}Environment
- Node version: 14.4.0
- ESLint version 7.1
eslint-plugin-jsdocversion: 27.0.4

