We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b04d2bb commit c687421Copy full SHA for c687421
1 file changed
packages/platform-fastify/adapters/fastify-adapter.ts
@@ -12,7 +12,12 @@ export class FastifyAdapter extends AbstractHttpAdapter {
12
constructor(
13
instanceOrOptions:
14
| fastify.FastifyInstance<any, any, any>
15
- | fastify.ServerOptions = fastify(),
+ | fastify.ServerOptions
16
+ | fastify.ServerOptionsAsHttp
17
+ | fastify.ServerOptionsAsHttp2
18
+ | fastify.ServerOptionsAsSecure
19
+ | fastify.ServerOptionsAsSecureHttp
20
+ | fastify.ServerOptionsAsSecureHttp2 = fastify(),
21
) {
22
const instance =
23
instanceOrOptions &&
0 commit comments