@tsed/common
Version:
A TypeScript Framework on top of Express
14 lines • 428 B
JavaScript
;
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