chore(types): remove unnecessary type assertion (#3724)
This commit is contained in:
parent
9b160b9405
commit
49fd1696c9
@ -103,11 +103,7 @@ function createGetter(isReadonly = false, shallow = false) {
|
||||
|
||||
const res = Reflect.get(target, key, receiver)
|
||||
|
||||
if (
|
||||
isSymbol(key)
|
||||
? builtInSymbols.has(key as symbol)
|
||||
: isNonTrackableKeys(key)
|
||||
) {
|
||||
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
|
||||
return res
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user