MCPcopy Create free account
hub / github.com/fastify/fastify / invalidReplySerializer

Function invalidReplySerializer

test/types/instance.tst.ts:203–203  ·  view source on GitHub ↗
(payload: number, statusCode: string)

Source from the content-addressed store, hash-verified

201})
202
203function invalidReplySerializer (payload: number, statusCode: string) { }
204// @ts-expect-error Argument of type '(payload: number, statusCode: string) => void' is not assignable to parameter of type '(payload: unknown, statusCode: number) => string'.
205server.setReplySerializer(invalidReplySerializer)
206

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected