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
Hello,
I have been developing on a monorepo with elysia.
When using the eden treaty, route parameters are type hinted as any instead of the expected types.
We have narrowed it down to being a path aliasing issue.
I'm not sure if it's necessarily an Elysia/Eden issue. The workaround is just to simply update your frontend's tsconfig.json to reference your backend tsconfig.json
Frontend
"references": [
{
"path": "../backend"// Add reference to the backend tsconfig
}
]
Backend
"compilerOptions": {
"composite": true, // Enable this line
}
Hello,
I have been developing on a monorepo with elysia.
When using the eden treaty, route parameters are type hinted as any instead of the expected types.
We have narrowed it down to being a path aliasing issue.
See this repository for a reproduction https://github.com/IOnlyNeedParenthesis/elysia-eden-treaty-repro.
This seems to be the same issue as in #99 and possibly related to #42.
The text was updated successfully, but these errors were encountered: