Files
effect/bundle/schema-string.ts
T
Giulio Canti e1409d056a add TemplateLiteral + optimize bundle (#96)
* add TemplateLiteral

* test methods as compiler fragments

* format

* TupleType.parser

* Union

* typeAST + flip

* remove SchemaAST.format from makeUnsafe

* parser
2025-05-05 22:11:10 +02:00

7 lines
201 B
TypeScript

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