0.1.8 (#9)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #9
This commit was merged in pull request #9.
This commit is contained in:
14
src/tests.ts
14
src/tests.ts
@@ -1,7 +1,21 @@
|
||||
import { Schema as S } from "@effect/schema"
|
||||
import { reaction, runInAction } from "mobx"
|
||||
import type { Simplify } from "type-fest"
|
||||
import { Jsonifiable, MutableTaggedClass } from "./Schema"
|
||||
import { ObservableClass } from "./Schema/MobX"
|
||||
import type { ExtendAll } from "./Types"
|
||||
|
||||
|
||||
type TestA = {
|
||||
heugneu: string
|
||||
type: "Type1" | "Type2"
|
||||
}
|
||||
|
||||
type TestB = {
|
||||
type: "Type1"
|
||||
}
|
||||
|
||||
type Merged = Simplify<ExtendAll<[TestA, TestB]>>
|
||||
|
||||
|
||||
class User extends MutableTaggedClass<User>()("User", {
|
||||
|
||||
Reference in New Issue
Block a user