Replies: 2 comments 2 replies
-
I can't seem to reproduce the type error here. Can you try reproduce in a minimal environment and share it here? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Upgrading the typescript version helps me solve the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have following error
TS2339: Property 'readContract' does not exist on type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; chain: Assign<{ readonly id: 11155111; ... 6 more ...; readonly testnet: true; }, ChainConfig<...>>; ... 10 more ...; extend: () => const; }'.
408 | const fetchTotalSupply = async () => {
409 |
and the code is
Code does execute and fetches totalSupply BUT it also raises error any ideas what might be wronge
Beta Was this translation helpful? Give feedback.
All reactions