fastify-cli
Version:
Run a fastify route with one command!
14 lines (10 loc) • 305 B
TypeScript
import { FastifyPluginCallback } from 'fastify'
declare module 'fastify' {
export interface FastifyInstance {
// This is an example decorator type added to fastify
exampleDecorator: () => string
}
}
declare const example: FastifyPluginCallback<{}>
export { example }
export default example