0.1.4 #5

Merged
Thilawyn merged 8 commits from next into master 2024-06-27 18:47:12 +02:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 6bf3c64f1b - Show all commits

View File

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

View File

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