UNPKG

@backland/schema

Version:

TypeScript schema declaration and validation library with static type inference

25 lines (24 loc) 515 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnyField = void 0; var _FieldType = require("./FieldType"); class AnyField extends _FieldType.FieldType { constructor(..._args) { super({ def: undefined, name: 'any' }); this.parse = this.applyParser({ parse: input => { return input; } }); } static create = (..._args) => { return new AnyField(); }; } exports.AnyField = AnyField; //# sourceMappingURL=AnyField.js.map