From 7ff9fd049b7cd461b4e8e97c90e96f5a41114eff Mon Sep 17 00:00:00 2001 From: "guo.xu" Date: Thu, 18 Mar 2021 17:53:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cli-types/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }