TSDeclareFunctions should report no error even if they have a prepended export.
An error is reported sayin that the jsdoc-comment is missing.
{
rules: {
"jsdoc/require-jsdoc": [
"warn",
{
require: {
FunctionDeclaration: true
},
contexts: [
"TSDeclareFunction"
]
}
]
}
}
/**
* This is a text.
*/
function x(); // works great
/**
* This is a text.
*/
function x(text: string) { }
/**
* This is a text.
*/
export function a(); // Reports an error
/**
* This is a text.
*/
export function a(text: string)
{ }
eslint-plugin-jsdoc version: 30.6.2:tada: This issue has been resolved in version 30.6.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Awesome, thank you so much - that was fast!