@nestjs/core
Version:
Nest - modern, fast, powerful node.js web framework (@core)
5 lines (4 loc) • 347 B
TypeScript
import { RequestMethod } from '@nestjs/common';
import { ExcludeRouteMetadata } from '../interfaces/exclude-route-metadata.interface';
export declare const isRequestMethodAll: (method: RequestMethod) => boolean;
export declare function isRouteExcluded(excludedRoutes: ExcludeRouteMetadata[], path: string, requestMethod?: RequestMethod): boolean;