-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error This expression is not callable. Type 'never' has no call signatures. #162
Comments
on it! |
Hey! Can you share the code? Also, try to use the |
I have tried that but still getting similar errors here is the code we are using for AA through ZeroDev SDK
|
Can't reproduce without these dependencies
Also, it seems that you forgot to pass |
@pavlovdog I am not sure what you meant by pass according to ZeroDev documentation the params to be passed to
|
@pavlovdog to reproduce here is a modified version of the code
|
I still can't reproduce this, it works on my setup. Can you share the minimal repo, including all the involved versions (node/package manager/etc) and a run command? |
Hi, I have this kind of compile error me too, did you figured out the solution @asghaiermp ? |
I am getting this error when running npm run build for my nodejs app
node_modules/permissionless/utils/getAction.ts:10:9 - error TS2349: This expression is not callable.
Type 'never' has no call signatures.
10 (
~
11 client as Client & {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
13 }
~~~~~~~~~~~~~
14 )[actionName]?.(...params) ?? action(client, ...params)
~~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/permissionless/utils/getAction.ts:10
Here is my ts.config file
The text was updated successfully, but these errors were encountered: