import { literal, string, type TypeOf, union } from 'io-ts'; 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([literal(_A.A1), literal(_A.B1), literal(_A.C1),]); export type A = TypeOf; export const B = union([literal(_B.A2), literal(_B.B2),]); export type B = TypeOf; export const C = union([literal(_C.A3), literal(_C.B3), literal(_C.C3),]); export type C = TypeOf; export const D = union([literal(_C.A3), literal(_C.B3),]); export type D = TypeOf; export const F = union([string, literal(_E.S),]); export type F = TypeOf; export const G = union([literal(_C.A3), literal(_C.B3), literal(_C.C3), literal(_E.S),]); export type G = TypeOf;