From 3635ad332f67e7549e657ac925738f0044f4bed4 Mon Sep 17 00:00:00 2001 From: Skiyee <319619193@qq.com> Date: Wed, 10 Apr 2024 09:34:04 +0800 Subject: [PATCH] =?UTF-8?q?types(core):=20=F0=9F=8C=8A=20=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=20`Vars`=20=E4=B8=8B=E5=B7=A5=E5=85=B7=E7=B1=BB?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=9C=80=E8=A6=81=E8=B7=9F=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=8D=95=E5=85=83=E5=B7=A5=E5=85=B7=E7=B1=BB?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9B=B8=E5=90=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 0dc1af5..461c8e2 100644 --- a/src/types.ts +++ b/src/types.ts @@ -14,7 +14,9 @@ export interface OptionVars< Base extends OptionBase = Record, > { [VarKey: string]: { - [TypeName: string]: Partial + [TypeName: string]: { + [BaseKey in keyof Base]?: Clax + } } }