diff --git a/test/types/types.test.ts b/test/types/types.test.ts index 4ce28a3..396927d 100644 --- a/test/types/types.test.ts +++ b/test/types/types.test.ts @@ -19,6 +19,6 @@ fastify.register(rawBodyPlugin, options4) fastify.register(rawBodyPlugin, options5) fastify.get('/', { config: { rawBody: true } }, (request, reply) => { - expectType(request.routeConfig.rawBody) + expectType(request.rawBody) return "rawBody enabled" })