@tsed/common
Version:
A TypeScript Framework on top of Express
9 lines (8 loc) • 392 B
TypeScript
import { DecoratorParameters } from "@tsed/core";
import { PropertyMetadata } from "../../mvc/models/PropertyMetadata";
/**
* Decorator builder. Call your function with `propertyMetadata` and `DecoratorParameters` a input parameters
* @decorator
* @schema
*/
export declare function PropertyFn(fn: (propertyMetadata: PropertyMetadata, parameters: DecoratorParameters) => void): Function;