Skip to content

Conversation

@zsalzbank
Copy link
Contributor

Without this, the types do not work and you get errors like:

error TS2353: Object literal may only specify known properties, and 'websocket' does not exist in type 'RouteShorthandOptions<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, RouteGenericInterface, unknown, FastifySchema, FastifyTypeProvider, FastifyBaseLogger>'.

Checklist

Without this, the types do not work and you get errors like:

```
error TS2353: Object literal may only specify known properties, and 'websocket' does not exist in type 'RouteShorthandOptions<RawServerDefault, IncomingMessage, ServerResponse<IncomingMessage>, RouteGenericInterface, unknown, FastifySchema, FastifyTypeProvider, FastifyBaseLogger>'.
```

Signed-off-by: Zachary Salzbank <zsalzbank@gmail.com>
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 08f5fd1 into fastify:master Dec 7, 2024
@mcollina
Copy link
Member

mcollina commented Dec 7, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants