You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. This issue is temporarily closed due to lack of information. Please provide a minimal reproducible example and reopen this issue.
The issue here was that on root folder, I hade a tsconfig.base.josn and other apps in the monorepo were extending it in their own tsconfig.json, I don't know what tsconfig wagmi-cli was using maybe one of from the subfolders, but once I changed tscofig.base.json to tsconfig.json it worked fine.
@tmm sorry I couldn't reproduce this with a minimal example, like I said I was using default config example and it was working fine in a new project, the issue was withing my project setup.
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion.
Is there an existing issue for this?
Package Version
1.3.9
Current Behavior
When running
wagmi generate
, I get all the function and hooks with no types like:with the config file from the docs.
Expected Behavior
the functions argument type should not be
config = {}
but instead be typed correctly.Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
node: v19.9.0
tsconfig.json:
project is using a monorepo using nx and nextjs apps.
The text was updated successfully, but these errors were encountered: