Skip to content

Commit

Permalink
fix(utils): type portability with RuleCreator, fix typescript-eslin…
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 23, 2023
1 parent dec6cbe commit 4e23591
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/utils/src/eslint-utils/RuleCreator.ts
Expand Up @@ -7,6 +7,8 @@ import type {
} from '../ts-eslint/Rule';
import { applyDefault } from './applyDefault';

export type { RuleListener, RuleModule };

// we automatically add the url
export type NamedCreateRuleMetaDocs = Omit<RuleMetaDataDocs, 'url'>;
export type NamedCreateRuleMeta<TMessageIds extends string> = Omit<
Expand Down

0 comments on commit 4e23591

Please sign in to comment.