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)
|
const res = Reflect.get(target, key, receiver)
|
||||||
|
|
||||||
if (
|
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
|
||||||
isSymbol(key)
|
|
||||||
? builtInSymbols.has(key as symbol)
|
|
||||||
: isNonTrackableKeys(key)
|
|
||||||
) {
|
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user