0.1.1 #2

Merged
Thilawyn merged 2 commits from next into master 2024-06-23 01:24:53 +02:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 3b662d0b5f - Show all commits

9
src/effect/schema/Tag.ts Normal file
View File

@@ -0,0 +1,9 @@
import { Schema as S } from "@effect/schema"
export function Tag<Tag extends string>(tag: Tag) {
return S.withConstructorDefault(
S.propertySignature(S.Literal(tag)),
() => tag,
)
}

View File

@@ -1 +1,2 @@
export { Jsonifiable } from "./Jsonifiable"
export { Tag } from "./Tag"