diff --git a/packages/cli-types/src/index.ts b/packages/cli-types/src/index.ts index 11e0a12..80f6e16 100644 --- a/packages/cli-types/src/index.ts +++ b/packages/cli-types/src/index.ts @@ -5,7 +5,7 @@ import { IPlugin, IPreset, IConfig } from './types' type IReturnArg = (args: T) => T type PartialDeep> = { - [K in keyof T]?: T[K] extends Record + [K in keyof T]?: T[K] extends Record | boolean ? PartialDeep : T[K] }