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
import{Elysia}from"elysia";import{Logestic}from"logestic";constapp=newElysia().use(Logestic.preset("fancy")).get("/",()=>"Hello Elysia").listen(3000);console.log(`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`);
This expression is not callable.
Each member of the union type '(<const Path extends string, const LocalSchema extends InputSchema<string>, const Schema extends MergeSchema<UnwrapRoute<LocalSchema, any>, MergeSchema<any, MergeSchema<any, any>>>, const Macro extends any, const Handle extends InlineHandler<...>>(path: Path, handler: Handle, hook?: LocalHook<...> | undefined) => El...' has signatures, but none of those signatures are compatible with each other.ts(2349)
⚠ Error (TS2349) |
What is the expected behaviour?
No error
Any additional information/media?
Despite the error everything seems to work fine?
The text was updated successfully, but these errors were encountered:
What version of Logestic are you using?
1.2.4
What is the bug and how to reproduce it?
Using Logestic according to documentation:
Gives this TS2769 typescript error on line 4:
And this one on the next line:
What is the expected behaviour?
No error
Any additional information/media?
Despite the error everything seems to work fine?
The text was updated successfully, but these errors were encountered: