diff --git a/src/iterateJsdoc.cts b/src/iterateJsdoc.cts index 4a4a89663..2a5423fcb 100644 --- a/src/iterateJsdoc.cts +++ b/src/iterateJsdoc.cts @@ -1,6 +1,7 @@ -import iterateJsdoc, {getSettings, parseComment, type JsdocVisitor, type RuleConfig} from './iterateJsdoc.js'; +import iterateJsdoc, {getSettings, parseComment} from './iterateJsdoc.js'; -const exp = iterateJsdoc as ((iterator: JsdocVisitor, ruleConfig: RuleConfig) => import('eslint').Rule.RuleModule) & { +const exp = { + default: typeof iterateJsdoc, getSettings: typeof getSettings, parseComment: typeof parseComment };