From 187e5701c913921dbfd220c6a7809bca45fce391 Mon Sep 17 00:00:00 2001 From: gjfLeo Date: Wed, 17 Jan 2024 17:14:22 +0800 Subject: [PATCH] fix: add override options type for stylistic (closes #391) (#392) --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 1e5dc936e0..3b0697649c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -291,7 +291,7 @@ export interface OptionsConfig extends OptionsComponentExts { * * @default true */ - stylistic?: boolean | StylisticConfig + stylistic?: boolean | (StylisticConfig & OptionsOverrides) /** * Enable react rules.