Files
effect/bundle/schema-string.ts
T
Giulio Canti f5b26b2feb annotate as pipe-able function (#117)
* Refactor schema annotation method to use pipe syntax for consistency across schema operations

* renaming

* rename SchemaValidator to SchemaParser

* move make from schemas to SchemaParser

* fix bundle imports

* rename serialization annotation

* simplify makeClass impl
2025-05-12 10:39:35 +02:00

7 lines
192 B
TypeScript

import * as Schema from "#dist/effect/Schema"
import * as SchemaParser from "#dist/effect/SchemaParser"
const schema = Schema.String
console.log(SchemaParser.decodeUnknownSync(schema)("a"))