UNPKG

451 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.IsDate = void 0;
4const attribute_service_1 = require("../model/column/attribute-service");
5/**
6 * Only allow date strings
7 */
8function IsDate(target, propertyName) {
9 (0, attribute_service_1.addAttributeOptions)(target, propertyName, {
10 validate: {
11 isDate: true,
12 },
13 });
14}
15exports.IsDate = IsDate;
16//# sourceMappingURL=is-date.js.map
\No newline at end of file