UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

8 lines (7 loc) • 193 B
import type { Type } from '@nestjs/common'; export interface RouteTree { path: string; module?: Type<any>; children?: (RouteTree | Type<any>)[]; } export type Routes = RouteTree[];