back to immutable mode

This commit is contained in:
MapleLeaf
2021-12-16 20:58:48 -06:00
parent e67abe0b9b
commit 174bc22c18
10 changed files with 110 additions and 104 deletions

View File

@@ -10,7 +10,7 @@ export function withLoggedMethodCalls<T extends object>(value: T) {
return (...values: any[]) => {
console.log(
`${String(property)}(${values
.map((value: any) => inspect(value, { depth: 1 }))
.map((value) => inspect(value, { depth: 1 }))
.join(", ")})`,
)
return value.apply(target, values)