A type annotation is necessary when exporting createSafeActionClient() #187
Closed
zealerzone
started this conversation in
General
Replies: 1 comment 1 reply
-
Have you already tried this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I using the latest version of next-safe-action: 7.1.3.
When i try to export as below, i am getting typescript error. is there any specific type that i can refer to to avoid the error
ERROR : The inferred type of 'baseActionClient' cannot be named without a reference to '@root/node_modules/next-safe-action/dist/validation-errors-DAAgplxi.mjs'. This is likely not portable. A type annotation is necessary.ts(2742)
Beta Was this translation helpful? Give feedback.
All reactions