mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-02 03:15:52 +08:00
11 lines
281 B
TypeScript
11 lines
281 B
TypeScript
import * as Schema from "#dist/effect/schema/Schema"
|
|
import * as ToArbitrary from "#dist/effect/schema/ToArbitrary"
|
|
|
|
const schema = Schema.Struct({
|
|
a: Schema.String,
|
|
b: Schema.optional(Schema.FiniteFromString),
|
|
c: Schema.Array(Schema.String)
|
|
})
|
|
|
|
ToArbitrary.makeLazy(schema)
|