Skip to content

Commit

Permalink
Add remaining cheerio type comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed May 15, 2024
1 parent 186a6a8 commit d231e8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {EventEmitter} from 'node:events';
import {chalk} from '../cli/util.js';
import logging from './logger.js';

/** @typedef {import('cheerio').Cheerio<import('domhandler').Document>} Cheerio */
/** @typedef {import("./parse.js").AST} AST */
/** @typedef {import("./parse.js").Node} Node */

Expand Down
1 change: 1 addition & 0 deletions src/rules/attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import logging from '../lib/logger.js';

const logger = logging('rule:attr');

/** @typedef {import('cheerio').Cheerio<import('domhandler').Document>} Cheerio */
/** @typedef {import("../lib/reporter.js")} Reporter */
/** @typedef {import("../lib/parse.js").AST} AST */
/** @typedef {import("../lib/parse.js").Node} Node */
Expand Down

0 comments on commit d231e8a

Please sign in to comment.