import { Type } from '@nestjs/common'; export interface RouteTree { path: string; module?: Type; children?: (RouteTree | Type)[]; } export type Routes = RouteTree[];