Skip to content

Commit 4e23591

Browse files
authored
fix(utils): type portability with RuleCreator, fix typescript-eslint#7605 (typescript-eslint#7690)
1 parent dec6cbe commit 4e23591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/utils/src/eslint-utils/RuleCreator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import type {
77
} from '../ts-eslint/Rule';
88
import { applyDefault } from './applyDefault';
99

10+
export type { RuleListener, RuleModule };
11+
1012
// we automatically add the url
1113
export type NamedCreateRuleMetaDocs = Omit<RuleMetaDataDocs, 'url'>;
1214
export type NamedCreateRuleMeta<TMessageIds extends string> = Omit<

0 commit comments

Comments
 (0)