diff --git a/src/utils/compendium.ts b/src/utils/compendium.ts index 2fb5e31ad..7830a49db 100644 --- a/src/utils/compendium.ts +++ b/src/utils/compendium.ts @@ -12,8 +12,8 @@ if (compendiumClient) { } export default new Proxy(client, { - get(target: Client1 | Client2, p: string | symbol): unknown { - return client[p]; + get: function(target: Client1 | Client2, p: string | symbol, receiver: ProxyHandler): unknown { + return Reflect.get(target, p, receiver); }, });