Skip to main content
Module

x/momentum/core/decorators/delete.ts

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
File
import { createActionDecorator } from "./create-action-decorator.ts";
/** * Decorator that marks a controller method as a DELETE action */export function Delete(): MethodDecorator;/** * Decorator that marks a controller method as a DELETE action with a route */export function Delete(route: string): MethodDecorator;export function Delete(route?: string): MethodDecorator { return createActionDecorator("delete", route);}