fastify-http-proxy icon indicating copy to clipboard operation
fastify-http-proxy copied to clipboard

Add a peer dependency on `fastify` to fix TypeScript types

Open walkerburgin opened this issue 8 months ago • 4 comments

The TypeScript typings in types/index.d.ts import explicitly from fastify without this package taking a dependency on fastify. If consumers are using a strict package manager like PNPM or Yarn (Berry), the typings are currently broken. This PR adds a peer dependency on fastify to fix TypeScript typings.

Checklist

walkerburgin avatar Jun 28 '24 22:06 walkerburgin