import { Intersect, Object, type Parsed, String } from 'runtypes'; // This file is generated by runtyping (https://github.com/johngeorgewright/runtyping). // Manual changes might be lost - proceed with caution! export const A = Object({ foo: String, }); export type A = Parsed; export const B = Object({ bar: String, }); export type B = Parsed; export const C = Intersect(A, B,); export type C = Parsed;