fastify
Version:
Fast and low overhead web framework, for Node.js
16 lines (13 loc) • 461 B
TypeScript
import { ContextConfigDefault } from './utils'
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface FastifyContextConfig {
}
/**
* Route context object. Properties defined here will be available in the route's handler
*/
export interface FastifyContext<ContextConfig = ContextConfigDefault> {
/**
* @deprecated Use Request#routeConfig or Request#routeSchema instead
*/
config: FastifyContextConfig & ContextConfig;
}