Skip to content

mapToClass

reference
1 min readUpdated

Kind: Function

Source: packages/core/middleware/utils.ts

Part of: Core

Signature

ts
function mapToClass(middleware: T, excludedRoutes: ExcludeRouteMetadata[], httpAdapter: HttpServer)

Parameters

NameType
middlewareT
excludedRoutesExcludeRouteMetadata[]
httpAdapterHttpServer

Was this page helpful?

Download as PDF
mapToClass — NestJS head-to-head