Tests
This commit is contained in:
@@ -1 +1,10 @@
|
|||||||
import { Schema as S } from "@effect/schema"
|
import { Schema as S } from "@effect/schema"
|
||||||
|
import { MutableClass } from "./MutableClass"
|
||||||
|
|
||||||
|
|
||||||
|
class User extends MutableClass<User>("User")({
|
||||||
|
id: S.BigIntFromSelf
|
||||||
|
}) {}
|
||||||
|
|
||||||
|
const user = new User({ id: 1n })
|
||||||
|
user.id = 2n
|
||||||
|
|||||||
Reference in New Issue
Block a user