Skip to content

Commit

Permalink
🐛 Fix unnecessary arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
FurryR committed Dec 2, 2023
1 parent 6bd925e commit e8a7923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export function vm<T extends keyof typeof globalThis>(
deleteProperty(_: object, property: string | symbol): boolean {
return Reflect.deleteProperty(target, property)
},
ownKeys(_: object): ArrayLike<string | symbol> {
ownKeys(): ArrayLike<string | symbol> {
return Reflect.ownKeys(target)
},
set(
Expand Down Expand Up @@ -294,7 +294,7 @@ export function vm<T extends keyof typeof globalThis>(
configurable: true
})
},
getPrototypeOf(_: object): object | null {
getPrototypeOf(): object | null {
const res = Reflect.getPrototypeOf(target)
if (res === null) return res
return proxify(res)
Expand Down

0 comments on commit e8a7923

Please sign in to comment.