bananass
Version:
Baekjoon Framework for JavaScript.🍌
35 lines (26 loc) • 1.01 kB
JavaScript
/**
* @fileoverview `Input` type struct.
*/
// --------------------------------------------------------------------------------
// Import
// --------------------------------------------------------------------------------
import { string } from 'superstruct';
// --------------------------------------------------------------------------------
// Typedefs
// --------------------------------------------------------------------------------
/**
* @import { Input } from '../../types.js';
* @import { Struct } from 'superstruct';
*/
// --------------------------------------------------------------------------------
// Type Struct
// --------------------------------------------------------------------------------
/**
* `Input` type struct.
* @type {Struct<Input>}
*/
const Input = string();
// --------------------------------------------------------------------------------
// Export
// --------------------------------------------------------------------------------
export default Input;