Files
2026-01-01 15:25:19 +05:30

8 lines
257 B
JavaScript

import BaseSchema from './schema';
const Mixed = BaseSchema;
export default Mixed;
export function create() {
return new Mixed();
} // XXX: this is using the Base schema so that `addMethod(mixed)` works as a base class
create.prototype = Mixed.prototype;