TSFastifyExample/interfaces/routes.ts
creations 1ccf80474c Common changes for simplicity
Changed fastify handler to handle the actual registration of the rout file with the routeinfo. changed all ' to " instead moves types and interfaces to the respective folders and files
2024-08-09 07:10:21 -04:00

7 lines
No EOL
153 B
TypeScript

import type { TMethod } from "../types/routes";
export interface IRouteInfo {
enabled: boolean;
path: string;
method: TMethod | TMethod[];
}