TS Issues on routerOptions option?
Open
- Dominant language
- No language data
- Stars
- 68
- Forks
- 8
- Avg merge
- 11h 2m
- Merged PRs (30d)
- 2
Description
Hello guys,
I'm trying to use the newest version of fastify 5.5.x and trying to remove the warning:
```
The router options for ignoreTrailingSlash property access is deprecated. Please use "options.routerOptions" instead for accessing router options. The router options will be removed in `fastify@6`.
```
But when initializing the object with
```
routerOptions: {
ignoreDuplicateSlashes: true,
ignoreTrailingSlash: true,
}
```
the property is not found on the type `FastifyServerOptions`
Is this a bug with the new version?
Contributor guide
Assessment
This issue has not been assessed yet.