299
Files Analyzed
7
Issues Found
5
Files with Issues

Issues by Rule

tjd/accurate-jsdoc
6
tjd/no-redundant-jsdoc
1

Issues by File

components/prism-core.js 1 issue
890:2 accurate-jsdoc

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

components/prism-graphql.js 1 issue
86:2 accurate-jsdoc

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

components/prism-javadoclike.js 1 issue
24:35 accurate-jsdoc

@param 'callback': (pattern: {inside: {rest: undefined}}) => void → (pattern: { inside: { rest: undefined; }; }) => void. Types differ. Run with --fix to update JSDoc, or verify the intended type.

components/prism-js-templates.js 3 issues
93:2 accurate-jsdoc

@returns: (string|Token)[] → any[]. JSDoc declares union but TypeScript infers array.

198:23 accurate-jsdoc

@param 'tokens': (Token|string)[] → any[]. JSDoc declares union but TypeScript infers array.

275:32 accurate-jsdoc

@param 'tokens': (Token | string)[] → any[]. JSDoc declares union but TypeScript infers array.

components/prism-kumir.js 1 issue
9:2 no-redundant-jsdoc

JSDoc @type 'string' is redundant - TypeScript infers the same type

Analyzed: 2/3/2026