@tsclean/core
Version:
Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.
5 lines • 379 B
TypeScript
import { RequestMethod } from "../../enums";
import { ExcludeRouteMetadataInterface } from "../../contracts";
export declare const isRequestMethodAll: (method: RequestMethod) => boolean;
export declare function isRouteExcluded(excludedRoutes: ExcludeRouteMetadataInterface[], path: string, requestMethod?: RequestMethod): boolean;
//# sourceMappingURL=exclude-route.util.d.ts.map