mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-02 03:15:52 +08:00
* add missing SchemaToParser APIs * chore * uniform bundles * fix benchmarks
9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
import * as Effect from "#dist/effect/Effect"
|
|
import * as Schema from "#dist/effect/Schema"
|
|
|
|
const schema = Schema.String
|
|
|
|
Schema.decodeUnknownEffect(schema)({ a: "a", b: 1, c: ["c"] }).pipe(
|
|
Effect.runFork
|
|
)
|