Skip to content

Commit

Permalink
Update lib/ts/framework/fastify/framework.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Mihály Lengyel <[email protected]>
  • Loading branch information
deepjyoti30-st and porcellus authored Oct 4, 2024
1 parent 31c47cb commit eb05160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ts/framework/fastify/framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class FastifyResponse extends BaseResponse {
};
}

function plugin(fastify: FastifyInstance<any>, _: any, done: Function) {
function plugin(fastify: FastifyInstance, _: unknown, done: () => void) {
fastify.addHook("preHandler", async (req: OriginalFastifyRequest, reply: FastifyReply) => {
let supertokens = SuperTokens.getInstanceOrThrowError();
let request = new FastifyRequest(req);
Expand Down

0 comments on commit eb05160

Please sign in to comment.