refactor(types): simplify UnwrapRefSimple (#1466)
This commit is contained in:
parent
6b23216e6d
commit
c69ca88c04
@ -168,7 +168,7 @@ type UnwrapRefSimple<T> = T extends
|
||||
| RefUnwrapBailTypes[keyof RefUnwrapBailTypes]
|
||||
? T
|
||||
: T extends Array<any>
|
||||
? { [K in keyof T]: T[K] extends Ref ? T[K] : UnwrapRefSimple<T[K]> }
|
||||
? { [K in keyof T]: UnwrapRefSimple<T[K]> }
|
||||
: T extends object ? UnwrappedObject<T> : T
|
||||
|
||||
// Extract all known symbols from an object
|
||||
|
Loading…
Reference in New Issue
Block a user