Skip to main content
Module

x/momentum/core/decorators/put.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 PUT action */export function Put(): MethodDecorator;/** * Marks a controller method as a PUT action with a route */export function Put(route: string): MethodDecorator;export function Put(route?: string): MethodDecorator { return createActionDecorator("put", route);}