fix: type

This commit is contained in:
KazariEX 2025-02-24 15:38:30 +08:00
parent 425ece0d5d
commit ad29ea5ba1
1 changed files with 4 additions and 4 deletions

View File

@ -493,10 +493,10 @@ export type ShallowUnwrapRef<T> = {
}
type MutableKeys<T> = {
[P in keyof T]-?: IfEquals<
{ [Q in P]: T[P] },
{ -readonly [Q in P]: T[P] },
P,
[K in keyof T]-?: IfEquals<
{ [P in keyof T[K]]: T[K][P] },
{ -readonly [P in keyof T[K]]: T[K][P] },
K,
never
>
}[keyof T]