MCPcopy
hub / github.com/nestjs/nest / FastifyInstance

Interface FastifyInstance

packages/platform-fastify/adapters/middie/fastify-middie.ts:412–416  ·  packages/platform-fastify/adapters/middie/fastify-middie.ts::FastifyInstance

Source from the content-addressed store, hash-verified

410
411declare module class="st">'fastify' {
412 interface FastifyInstance {
413 use(fn: fastifyMiddie.Handler): this;
414 use(route: string, fn: fastifyMiddie.Handler): this;
415 use(routes: string[], fn: fastifyMiddie.Handler): this;
416 }
417}
418
419/**

Callers 8

useFunction · 0.65
constructorMethod · 0.65
setErrorHandlerMethod · 0.65
setNotFoundHandlerMethod · 0.65
useStaticAssetsMethod · 0.65
enableCorsMethod · 0.65

Implementers 9

NestApplicationpackages/core/nest-application.ts
TestMiddlewarepackages/core/test/middleware/middlewa
FastifyAdapterpackages/platform-fastify/adapters/fas
LoggerMiddlewareintegration/inspector/src/common/middl
AuthMiddlewareintegration/hello-world/e2e/middleware
Middlewareintegration/hello-world/e2e/middleware
LoggerMiddlewaresample/10-fastify/src/common/middlewar
LoggerMiddlewaresample/36-hmr-esm/src/common/middlewar
LoggerMiddlewaresample/01-cats-app/src/common/middlewa

Calls

no outgoing calls

Tested by

no test coverage detected