Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

schema-string.ts

8 lines176 Bytes

1import * as Effect from "effect/Effect"
2import * as Schema from "effect/Schema"
3​
4const schema = Schema.String
5​
6Schema.decodeUnknownEffect(schema)("a").pipe(
7 Effect.runFork
8)