13
Files Analyzed
39
Issues Found
7
Files with Issues

Issues by Rule

tjd/accurate-jsdoc
39

Issues by File

lib/channel.js 1 issue
125:23 accurate-jsdoc

@param 'images': Array<string|Buffer>|string|Buffer → string | Buffer<ArrayBufferLike> | (string | Buffer<Array.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/composite.js 1 issue
131:21 accurate-jsdoc

@param 'images': Object[] → { input?: string | Buffer<ArrayBufferLike>; }[]. JSDoc declares array but TypeScript infers union.

lib/input.js 1 issue
738:1 accurate-jsdoc

@returns: Promise<Object> → Promise<any>. Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/operation.js 11 issues
55:25 accurate-jsdoc

@param 'options': Object → { background?: any; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

180:26 accurate-jsdoc

@param 'options': Object → { background?: any; idx?: number; idy?: number; odx?: num.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

499:19 accurate-jsdoc

@param 'options': Object → { background?: any; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

584:18 accurate-jsdoc

@param 'options': Object → { alpha?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

619:21 accurate-jsdoc

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

657:21 accurate-jsdoc

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

684:17 accurate-jsdoc

@param 'options': Object → { width: number; height: number; maxSlope?: number; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

734:20 accurate-jsdoc

@param 'kernel': Object → { width: number; height: number; kernel: number[]; scale?.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

767:32 accurate-jsdoc

@param 'options': Object → { greyscale?: boolean; grayscale?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

801:38 accurate-jsdoc

@param 'options': Object → { raw?: { width?: number; height?: number; channels?: num.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

950:20 accurate-jsdoc

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

lib/output.js 20 issues
73:1 accurate-jsdoc

@returns: Promise<Object> → Promise<any>. Types differ. Run with --fix to update JSDoc, or verify the intended type.

156:20 accurate-jsdoc

@param 'options': Object → { resolveWithObject?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

210:20 accurate-jsdoc

@param 'exif': Object<string, Object<string, string>> → { [x: string]: { [x: string]: string; }; }. JSDoc declares generic but TypeScript infers object.

250:25 accurate-jsdoc

@param 'exif': Object<string, Object<string, string>> → { [x: string]: { [x: string]: string; }; }. JSDoc declares generic but TypeScript infers object.

301:31 accurate-jsdoc

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

419:24 accurate-jsdoc

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

504:16 accurate-jsdoc

@param 'options': Object → { quality?: number; progressive?: boolean; chromaSubsampl.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

610:15 accurate-jsdoc

@param 'options': Object → { progressive?: boolean; compressionLevel?: number; adapt.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

697:16 accurate-jsdoc

@param 'options': Object → { quality?: number; alphaQuality?: number; lossless?: boo.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

799:15 accurate-jsdoc

@param 'options': Object → { reuse?: boolean; progressive?: boolean; colours?: numbe.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

888:15 accurate-jsdoc

@param 'options': Object → { quality?: number; lossless?: boolean; tileWidth?: numbe.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

943:34 accurate-jsdoc

@param 'source': Object → { loop?: number; delay?: number[]; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1000:16 accurate-jsdoc

@param 'options': Object → { quality?: number; force?: boolean; compression?: string.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1119:16 accurate-jsdoc

@param 'options': Object → { quality?: number; lossless?: boolean; effort?: number; .... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1146:16 accurate-jsdoc

@param 'options': Object → { compression: string; quality?: number; lossless?: boole.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1219:15 accurate-jsdoc

@param 'options': Object → { distance?: number; quality?: number; decodingTier?: num.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1288:15 accurate-jsdoc

@param 'options': Object → { depth?: string; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1349:16 accurate-jsdoc

@param 'options': Object → { size?: number; overlap?: number; angle?: number; backgr.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

1469:19 accurate-jsdoc

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

1490:39 accurate-jsdoc

@param 'options': Object → { force?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/resize.js 3 issues
258:42 accurate-jsdoc

@param 'options': Object → { width?: number; height?: number; fit?: string; position.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

477:19 accurate-jsdoc

@param 'options': Object → { left: number; top: number; width: number; height: numbe.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

550:16 accurate-jsdoc

@param 'options': Object → { background?: any; threshold?: number; lineArt?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/utility.js 2 issues
225:17 accurate-jsdoc

@param 'options': Object → { operation: string[]; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

263:19 accurate-jsdoc

@param 'options': Object → { operation: string[]; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

Analyzed: 2/3/2026