chore: fix ownKeys signature (#3313)
This commit is contained in:
parent
3e4c3ac66d
commit
57e1aa815b
@ -182,7 +182,7 @@ function has(target: object, key: string | symbol): boolean {
|
||||
return result
|
||||
}
|
||||
|
||||
function ownKeys(target: object): (string | number | symbol)[] {
|
||||
function ownKeys(target: object): (string | symbol)[] {
|
||||
track(target, TrackOpTypes.ITERATE, isArray(target) ? 'length' : ITERATE_KEY)
|
||||
return Reflect.ownKeys(target)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user