mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-01 03:05:36 +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)
|