Skip to content

Commit 6ac30ff

Browse files
authored
fix: fix tsc build private name RuleModule (#38)
1 parent 3a42979 commit 6ac30ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const hasDocs = [
1515

1616
const blobUrl = 'https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/'
1717

18-
export interface RuleModule<
18+
export type RuleModule<
1919
T extends readonly unknown[],
20-
> extends Rule.RuleModule {
20+
> = Rule.RuleModule & {
2121
defaultOptions: T
2222
}
2323

0 commit comments

Comments
 (0)