We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7816c58 + 2c4f14c commit 4765c91Copy full SHA for 4765c91
yarn-project/aztec.js/src/wallet/wallet.test.ts
@@ -426,7 +426,7 @@ class MockWallet implements Wallet {
426
// 2. `args` matches the parameter types of that specific method
427
// 3. The return type is correctly mapped in BatchResults<T>
428
// We use dynamic dispatch here for simplicity, but the types are enforced at the call site.
429
- const fn = this[name] as (...args: any[]) => Promise<any>;
+ const fn = (this as any)[name] as (...args: any[]) => Promise<any>;
430
const result = await fn.apply(this, args);
431
// Wrap result with method name for discriminated union deserialization
432
results.push({ name, result });
0 commit comments