Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/getJsdocProcessorPlugin.cts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import {getJsdocProcessorPlugin} from './getJsdocProcessorPlugin.js';

exports.getJsdocProcessorPlugin = getJsdocProcessorPlugin;
export = {
getJsdocProcessorPlugin: getJsdocProcessorPlugin as typeof getJsdocProcessorPlugin
};
13 changes: 9 additions & 4 deletions src/iterateJsdoc.cts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import iterateJsdoc, {getSettings, parseComment} from './iterateJsdoc.js';
import iterateJsdoc, {getSettings, parseComment, type JsdocVisitor, type RuleConfig} from './iterateJsdoc.js';

export = iterateJsdoc;
const exp = iterateJsdoc as ((iterator: JsdocVisitor, ruleConfig: RuleConfig) => import('eslint').Rule.RuleModule) & {
getSettings: typeof getSettings,
parseComment: typeof parseComment
};

exports.getSettings = getSettings;
exports.parseComment = parseComment;
exp.getSettings = getSettings;
exp.parseComment = parseComment;

export = exp;
Loading