fastify-early-hints
fastify-early-hints copied to clipboard
fix(types): allow mix of strings and obj in writeEarlyHintsLinks
Checklist
- [x] run
npm run testandnpm run benchmark - [x] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [x] commit message and code follows the Developer's Certification of Origin and the Code of conduct
Thanks for opening a PR! Can you please add a unit test? we use
tsdfor TS.
Done 👍 Passes (and I verified that it fails without the change introduced here)