Closed Taragryen closed 1 year ago
I followed the require-param
example to configure it
Use MethodDefinition
instead of TSFunctionType
.
In that example, it works because TSFunctionType
is finding the type annotation (id: number) => string
, not the method TestMethod
.
Use
MethodDefinition
instead ofTSFunctionType
.In that example, it works because
TSFunctionType
is finding the type annotation(id: number) => string
, not the methodTestMethod
.
I tried MethodDefinition
and it didn't work.
Can only work on ordinary class, not angular component class🤔️
Can you provide a minimal example where it does not work?
After reinstalling the eslint extension, require-param is back to work now Sorry for taking up your time
Expected behavior
Report an error: Missing JSDoc @param "btnState" declaration.
Actual behavior
No error reported
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: latest