Closed dietergeerts closed 2 years ago
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
@Eomm , I can take a look yes, but I never have written unit tests that specifically are testing types, but I assume I will find some in here to compare how to do that.
Prerequisites
Fastify version
N/A
Plugin version
Node.js version
14
Operating system
Windows
Operating system version (i.e. 20.04, 11.3, 10)
N/A
Description
Following error when using
customOptions
:Because it's not in the types.
Steps to Reproduce
Just use
customOptions
in a TS fileExpected Behavior
Typings know about this extra feature, so there are no TS errors