From 402f78b974a0909fab483c4ff91990cf03dad2e2 Mon Sep 17 00:00:00 2001 From: GuangMingYouBei <99389512+GuangMingYouBei@users.noreply.github.com> Date: Fri, 24 Mar 2023 17:31:37 +0800 Subject: [PATCH] chore(ava/advisor): export type RuleModule (#633) --- packages/ava/src/advisor/types.ts | 2 +- packages/ava/src/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ava/src/advisor/types.ts b/packages/ava/src/advisor/types.ts index 8566d3b1..a77f3102 100644 --- a/packages/ava/src/advisor/types.ts +++ b/packages/ava/src/advisor/types.ts @@ -196,7 +196,7 @@ export interface ScoringResultForChartType { log?: ScoringResultForRule[]; } -export type { Preferences } from './ruler/types'; +export * from './ruler/types'; export interface LinterOptions { purpose?: Purpose; diff --git a/packages/ava/src/index.ts b/packages/ava/src/index.ts index cbacb2a1..acf8d9c8 100644 --- a/packages/ava/src/index.ts +++ b/packages/ava/src/index.ts @@ -15,6 +15,7 @@ export type { Preferences, LinterOptions, LintParams, + RuleModule, } from './advisor'; /* CKB */