validator/type.js

14 lines
275 B
JavaScript
Raw Normal View History

const BaseType = require('./types/base.js') // eslint-disable-line
/**
* @exports
* @typedef SchemaField
* @property {BaseType} type
* @property {SchemaField} children
*/
/**
* @exports
* @typedef {Object<string, SchemaField|BaseType>} Schema
*/
module.exports = {}