4
Files Analyzed
4
Issues Found
1
Files with Issues

Issues by Rule

tjd/accurate-jsdoc
4

Issues by File

index.js 4 issues
54:1 accurate-jsdoc

@returns: string|number|null → string | number. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

84:1 accurate-jsdoc

@returns: string|null → string. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

84:24 accurate-jsdoc

@param 'options': object → { decimalPlaces?: number; fixedDecimals?: number; thousan.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

141:1 accurate-jsdoc

@returns: number|null → number. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

Analyzed: 2/3/2026