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
The eden treaty fails to map the API correctly when using TypeScript path aliases. It only works with relative paths.
Steps to Reproduce
Set up a TypeScript project with path aliases configured in tsconfig.json.
Attempt to use a path alias in the eden treaty configuration. For example, use @/authRouter instead of ./authRouter.
// This works import authRouter from './authRouter';
// This doesn't work import authRouter from '@/authRouter';
Environment
eden version: 1.0.11
TypeScript version: 5.4.5
Bun version: 1.1.10
OS: Mac OS
The text was updated successfully, but these errors were encountered:
The eden treaty fails to map the API correctly when using TypeScript path aliases. It only works with relative paths.
Steps to Reproduce
Set up a TypeScript project with path aliases configured in tsconfig.json.
Attempt to use a path alias in the eden treaty configuration. For example, use @/authRouter instead of ./authRouter.
// This works
import authRouter from './authRouter';
// This doesn't work
import authRouter from '@/authRouter';
Environment
eden version: 1.0.11
TypeScript version: 5.4.5
Bun version: 1.1.10
OS: Mac OS
The text was updated successfully, but these errors were encountered: