From 83310db649b838e6ba2f9a3bb7007d7701b494f2 Mon Sep 17 00:00:00 2001 From: Arthur Fiorette Date: Sat, 13 Apr 2024 15:38:11 -0300 Subject: [PATCH] fix types v2 --- packages/fastify-api-reference/src/fastifyApiReference.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/fastify-api-reference/src/fastifyApiReference.ts b/packages/fastify-api-reference/src/fastifyApiReference.ts index 63ddc0d50a..9bbc476e5b 100644 --- a/packages/fastify-api-reference/src/fastifyApiReference.ts +++ b/packages/fastify-api-reference/src/fastifyApiReference.ts @@ -1,7 +1,6 @@ import type { ReferenceConfiguration } from '@scalar/api-reference' import type { FastifyBaseLogger, - FastifyPluginAsync, FastifyTypeProviderDefault, RawServerDefault, } from 'fastify' @@ -172,8 +171,7 @@ const fastifyApiReference = fp< FastifyApiReferenceOptions, RawServerDefault, FastifyTypeProviderDefault, - FastifyBaseLogger, - FastifyPluginAsync + FastifyBaseLogger >( async (fastify, options) => { let { configuration } = options