Closed lyorb closed 5 months ago
hello @lyorb did you manage to fix this? I'm currently in the same bind.
hello @lyorb did you manage to fix this? I'm currently in the same bind.
Hey @kayandra I just removed the declarative field from my tsconfig and that solved the problem
hello @lyorb did you manage to fix this? I'm currently in the same bind.
Hey @kayandra I just removed the declarative field from my tsconfig and that solved the problem
I fixed mine by removing "paths" from the server build and it works. Hopefully, will put in more time to find a proper solution.
What version of Elysia.JS is running?
1.0.13
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
I relied on this repository : elysia-monorepo-example
Not working code:
Working code :
What is the expected behavior?
The expected behavior is that the client can be exported without having to redefine the client interface, thus maintaining the benefits of using the Elysia Treaty module.
What do you see instead?
Instead, when attempting to export the client without redefining the client interface, the error mentioned above is encountered.
Additional information
No response