bogeychan / elysia-logger

A plugin for Elysia.js for logging using the pino library
https://npmjs.com/package/@bogeychan/elysia-logger
MIT License
114 stars 7 forks source link

Property 'logger' does not exist on type 'Context #2

Closed alyiev closed 1 year ago

alyiev commented 1 year ago
image

Property 'logger' does not exist on type 'Context<{ body: unknown; params: Record<never, string>; query: undefined; headers: undefined; response: unknown; }, {}> & { jwt: { readonly sign: (morePayload: Record<string, string> & JWTPayloadSpec) => Promise<...>; readonly verify: (jwt?: string | undefined) => Promise<...>; }; unsignCookie: (value: string) => { ...'.ts(2339)

bogeychan commented 1 year ago

Hi, thanks for your feedback! Should be fixed in version 0.0.6.

Let me know if there is anything else.