UNPKG

@tsed/common

Version:
14 lines 428 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PropertyFn = void 0; const schema_1 = require("@tsed/schema"); /** * Decorator builder. Call your function with `propertyMetadata` and `DecoratorParameters` a input parameters * @decorator * @schema */ function PropertyFn(fn) { return schema_1.JsonEntityFn(fn); } exports.PropertyFn = PropertyFn; //# sourceMappingURL=propertyFn.js.map