import { Literal, type Parsed, String, Union } from 'runtypes'; import { A as _A, B as _B, C as _C, E as _E } from '@runtyping/test-type-writers/fixtures/source/enum'; // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping). // Manual changes might be lost - proceed with caution! export const A = Union(...Object.values(_A).map(Literal)); export type A = Parsed; export const B = Union(...Object.values(_B).map(Literal)); export type B = Parsed; export const C = Union(...Object.values(_C).map(Literal)); export type C = Parsed; export const D = Union(Literal(_C.A3), Literal(_C.B3),); export type D = Parsed; export const F = Union(String, Literal(_E.S),); export type F = Parsed; export const G = Union(Literal(_C.A3), Literal(_C.B3), Literal(_C.C3), Literal(_E.S),); export type G = Parsed;