Enforce usage of a shorthand notation for some JSDoc types.
Fixable: this rule is automatically fixable by --fix.
{
optionalParam: <string>,
nullableType: <string>
}
Whether optional type (=) should be preferred to an union with |undefined in @param tag.
It can be either 'always' or 'never'. The default value is 'always'.
Whether nullable type (?) should be preferred to an union with |null.
It can be either 'always' or 'never'. The default value is 'always'.