Skip to content

Commit

Permalink
types(core): 🌊 解决 Vars 下工具类类型需要跟基础类型单元工具类类型相同问题
Browse files Browse the repository at this point in the history
  • Loading branch information
skiyee committed Apr 10, 2024
1 parent a690470 commit 3635ad3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export interface OptionVars<
Base extends OptionBase = Record<string, never>,
> {
[VarKey: string]: {
[TypeName: string]: Partial<Base>
[TypeName: string]: {
[BaseKey in keyof Base]?: Clax
}
}
}

Expand Down

0 comments on commit 3635ad3

Please sign in to comment.