UNPKG

@minofrk/msf-io-ts

Version:

Type utilities with io-ts for MSF format.

15 lines (13 loc) 355 B
import { type, array, intersection } from 'io-ts'; import { State } from '../state'; import { Variation } from './variation'; import { Options } from './options'; import { FalaType } from './fala-type'; export const RootNode = intersection([ Options, type({ fala: FalaType, slax: State, mit: array(Variation), }), ]);