# EndpointFn Decorator

Module
import { EndpointFn } from "@tsed/common/src/mvc/decorators/method/endpointFn"
Source/packages/common/src/mvc/decorators/method/endpointFn.ts

# Overview

function EndpointFn(fn: (endpoint: EndpointMetadata, parameters: DecoratorParameters) => void): <T>(target: Type<any>, property: string, descriptor: TypedPropertyDescriptor<T>) => void | TypedPropertyDescriptor<T>;