Type alias FastifyPluginCallback<Options, Server, TypeProvider, Logger>

FastifyPluginCallback<Options, Server, TypeProvider, Logger>: ((instance, opts, done) => void)

FastifyPluginCallback

Fastify allows the user to extend its functionalities with plugins. A plugin can be a set of routes, a server decorator or whatever. To activate plugins, use the fastify.register() method.

Type Parameters

Type declaration