Skip to content

[BUG] Using plugin does not work in latest version of Elysia #1

Description

@itsyoboieltr

Reproduction:

export const app = new Elysia().use(lambda())
No overload matches this call.
  The last overload gave the following error.
    Argument of type '(app: Elysia) => Elysia<ElysiaInstance>' is not assignable to parameter of type 'Promise<{ default: (elysia: Elysia<any, any>) => Elysia<any, ElysiaInstance>; }>'.ts(2769)

I would assume this is because the type system was largely reworked, and this project is using an older version of Elysia. Updating it should fix this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions