UNPKG

347 BTypeScriptView Raw
1import { RequestMethod } from '@nestjs/common';
2import { ExcludeRouteMetadata } from '../interfaces/exclude-route-metadata.interface';
3export declare const isRequestMethodAll: (method: RequestMethod) => boolean;
4export declare function isRouteExcluded(excludedRoutes: ExcludeRouteMetadata[], path: string, requestMethod?: RequestMethod): boolean;