logestic icon indicating copy to clipboard operation
logestic copied to clipboard

Elysia's type inference failed after using Logestic.

Open chikazin opened this issue 5 months ago • 5 comments

What version of Logestic are you using?

^1.2.4

What is the bug and how to reproduce it?

easy to reproduce

import { Logestic } from "logestic";
const app = new Elysia()
  .use(staticPlugin())
  // .use(Logestic.preset("common")) // 👈 uncomment and comment , then you can see the Elysia app's type inference failed.
  .get("/", () => "hi",)
  .listen(3000);

What is the expected behaviour?

Elysia app's type inference keeps

Any additional information/media?

No response

chikazin avatar Jun 13 '25 12:06 chikazin