bguard
Version:
**bguard** is a powerful, flexible, and type-safe validation library for TypeScript. It allows developers to define validation schemas for their data structures and ensures that data conforms to the expected types and constraints.
23 lines (16 loc) • 627 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true}); var _class;
var _chunkVN4GLOENjs = require('./chunk-VN4GLOEN.js');
var _chunkAXKX5BGHjs = require('./chunk-AXKX5BGH.js');
// src/asserts/date/index.ts
function date() {
return new DateSchema({ type: ["object"], requiredValidations: [] });
}
var DateSchema = (_class = class extends _chunkVN4GLOENjs.CommonSchema {
__init() {this._date = 1}
constructor(ctx) {
super(ctx);_class.prototype.__init.call(this);;
this[_chunkAXKX5BGHjs.ctxSymbol].date = true;
}
}, _class);
exports.date = date;
//# sourceMappingURL=chunk-NBR3QGKW.js.map