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 (21 loc) • 428 B
JavaScript
import {
CommonSchema
} from "./chunk-QIPGUTIG.mjs";
import {
ctxSymbol
} from "./chunk-2ANPCB4O.mjs";
// src/asserts/date/index.ts
function date() {
return new DateSchema({ type: ["object"], requiredValidations: [] });
}
var DateSchema = class extends CommonSchema {
_date = 1;
constructor(ctx) {
super(ctx);
this[ctxSymbol].date = true;
}
};
export {
date
};
//# sourceMappingURL=chunk-WYM2TIVW.mjs.map