UNPKG

477 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.WarthogField = void 0;
4var metadata_1 = require("../metadata");
5function WarthogField(fieldType, options) {
6 if (options === void 0) { options = {}; }
7 return function (target, propertyKey) {
8 metadata_1.getMetadataStorage().addField(fieldType, target.constructor.name, propertyKey, options);
9 };
10}
11exports.WarthogField = WarthogField;
12//# sourceMappingURL=WarthogField.js.map
\No newline at end of file