How to call action with middleware without schema #185
-
Hi 👋 I am in the process of migrating a project from version 6 to version 7. I am encountering a compilation error when building my project related to an action without a schema. Can you help me identify what I might have missed? Thank you
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Well, that's pretty weird. Type Calling it in a client component page with no arguments: And here's the action client file: |
Beta Was this translation helpful? Give feedback.
-
Hey @TheEdoRan, my issue was due to a TypeScript version >= 5.5.2 |
Beta Was this translation helpful? Give feedback.
Hey @TheEdoRan, my issue was due to a TypeScript version >= 5.5.2
The latest experimental version (#180 (comment)) fixes the problem 👍