sailfork / t3code-github / .repos/ effect/ packages/ tools/ bundle/ fixtures/ schema-toArbitrary.ts
import * as Arbitrary from "effect/Arbitrary"
import * as Schema from "effect/Schema"
const schema = Schema.Struct({
a: Schema.String,
b: Schema.optional(Schema.FiniteFromString),
c: Schema.Array(Schema.String)
})
export const arbitrary = Arbitrary.schema(schema)