UNPKG

@minofrk/msf-io-ts

Version:

Type utilities with io-ts for MSF format.

11 lines 419 B
import { type, dictionary, array, union, string as tString, undefined as tUndefined, } from 'io-ts'; import { RootNode } from './root-node'; import { Result } from './result'; import { NonRootNode } from './non-root-node'; export var MSFType = type({ aptex: dictionary(tString, union([tString, tUndefined])), kit: RootNode, fixt: Result, seslax: array(NonRootNode), }); //# sourceMappingURL=codec.js.map