altheia-async-data-validator
Version:
A very simple, fast and customizable async data validator
25 lines (24 loc) • 507 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TypeAny = void 0;
const base_1 = require("./base");
/**
* Any is just a empty class to allow chaining
*/
class TypeAny extends base_1.TypeBase {
/**
* Constructor
*/
constructor() {
super();
this.name = 'any';
}
_cast() {
throw new Error('not available for this validator');
}
}
exports.TypeAny = TypeAny;
const def = {
Class: TypeAny,
};
exports.default = def;