Skip to content

WebhooksElysiaPlugin

type WebhooksElysiaPlugin = ReturnType<typeof webhooksElysiaRoutes>;

Defined in: src/adapters/elysia2.ts:40

The typed plugin webhooksElysia returns: an Elysia instance whose route table (every admin route with its params and body schema) is what Eden treaty infers from typeof app. Name it to type a variable or a factory that returns the plugin.