Typescript Fastfy未传递http2类型
我跟踪这些文件已经有一段时间了 但是,在使用http2类型时,不会传递类型 像这样使用HTTP1类型Typescript Fastfy未传递http2类型,typescript,http2,fastify,Typescript,Http2,Fastify,我跟踪这些文件已经有一段时间了 但是,在使用http2类型时,不会传递类型 像这样使用HTTP1类型 type ServerInstance = fastify.FastifyInstance< Server, IncomingMessage, ServerResponse > 已通过,并且使用 const opts: fastify.RouteShorthandOptions< http2.Http2SecureServer, http2.Htt
type ServerInstance = fastify.FastifyInstance<
Server,
IncomingMessage,
ServerResponse
>
已通过,并且使用
const opts: fastify.RouteShorthandOptions<
http2.Http2SecureServer,
http2.Http2ServerRequest,
http2.Http2ServerResponse
>
工作。应该在v3中修复
const opts: fastify.RouteShorthandOptions<
http2.Http2SecureServer,
http2.Http2ServerRequest,
http2.Http2ServerResponse
>