Open yadav-saurabh opened 1 year ago
I was going through the documentation and noticed a few things during implementation.
index: it's calling the root/index routes but the typescript is showing some type error for that, also no autocomplete for index
Property 'index' does not exist on type '{ get: (params?: { $fetch?: RequestInit | undefined; $query?: Record<string, string> | undefined; $headers?: Record<string, unknown> | undefined; $transform?: Transform<...> | undefined; } | undefined) => Promise<...>; post: (params?: { ...; } | undefined) => Promise<...>; } & ... 17 more ... & { ...; }'.ts(2339)
The same goes for edenFn
edenFn
Module '"@elysiajs/eden"' has no exported member 'edenFn'.ts(2305)
nextjs (client): 13.5.4 eden version 0.7.4 elysia: 0.7.15 bun: 1.0.3
13.5.4
0.7.4
0.7.15
1.0.3
There is indeed no edenFn is this version. Check out the next branch (not sure how stable is it)
next
I was going through the documentation and noticed a few things during implementation.
index: it's calling the root/index routes but the typescript is showing some type error for that, also no autocomplete for index
The same goes for
edenFn
nextjs (client):
13.5.4
eden version0.7.4
elysia:0.7.15
bun:1.0.3