Skip to content

Commit

Permalink
fix(fastify): plugin is now with any type so it will not interfere wi…
Browse files Browse the repository at this point in the history
…th options
  • Loading branch information
Stradivario committed Apr 3, 2024
1 parent 1082454 commit dec24c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fastify/src/fastify.tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export const FastifyListen = new InjectionToken<string>();

export interface FastifyPlugin {
module: FastifyPluginCallback;
options?: FastifyRegisterOptions<unknown>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
options?: FastifyRegisterOptions<any>;
}

export type GlobalErrorHandler = (
Expand Down

0 comments on commit dec24c1

Please sign in to comment.