Home / Type/ FastifyPluginCallback Type — fastify Architecture

FastifyPluginCallback Type — fastify Architecture

Architecture documentation for the FastifyPluginCallback type/interface in plugin.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  58aec5c2_3d9c_824f_cdf4_4adaeda858bf["FastifyPluginCallback"]
  d7e0d6b7_f402_0b2b_8e73_168514073b2f["plugin.d.ts"]
  58aec5c2_3d9c_824f_cdf4_4adaeda858bf -->|defined in| d7e0d6b7_f402_0b2b_8e73_168514073b2f
  style 58aec5c2_3d9c_824f_cdf4_4adaeda858bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/plugin.d.ts lines 13–22

export type FastifyPluginCallback<
  Options extends FastifyPluginOptions = Record<never, never>,
  Server extends RawServerBase = RawServerDefault,
  TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault,
  Logger extends FastifyBaseLogger = FastifyBaseLogger
> = (
  instance: FastifyInstance<Server, RawRequestDefaultExpression<Server>, RawReplyDefaultExpression<Server>, Logger, TypeProvider>,
  opts: Options,
  done: (err?: Error) => void
) => void

Defined In

Frequently Asked Questions

What is the FastifyPluginCallback type?
FastifyPluginCallback is a type/interface in the fastify codebase, defined in types/plugin.d.ts.
Where is FastifyPluginCallback defined?
FastifyPluginCallback is defined in types/plugin.d.ts at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free