Open giulio-coa opened 1 month ago
^4.26.1
^8.15.0
18
Linux
Alpine
Missing exposeHeadRoutes property into the type definition of SwaggerOptions.
exposeHeadRoutes
type
SwaggerOptions
No response
The TypeScript compiler should not detect the following error:
Object literal may only specify known properties, and 'exposeHeadRoutes' does not exist in type 'FastifyRegisterOptions<SwaggerOptions>'. ts(2769)
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests (we use tsd for ts)
Prerequisites
Fastify version
^4.26.1
Plugin version
^8.15.0
Node.js version
18
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Alpine
Description
Missing
exposeHeadRoutes
property into thetype
definition ofSwaggerOptions
.Link to code that reproduces the bug
No response
Expected Behavior
The TypeScript compiler should not detect the following error: