This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import type { Struct } from "@effect/schema/Schema"
|
||||
import { Schema as S } from "@effect/schema"
|
||||
import { makeObservable, observable, type CreateObservableOptions } from "mobx"
|
||||
import { mapValues } from "remeda"
|
||||
|
||||
|
||||
interface MobXObservableInput {
|
||||
new(...args: any[]): Struct.Type<Struct.Fields>
|
||||
readonly fields: { readonly [K in keyof Struct.Fields]: Struct.Fields[K] }
|
||||
new(...args: any[]): S.Struct.Type<S.Struct.Fields>
|
||||
readonly fields: { readonly [K in keyof S.Struct.Fields]: S.Struct.Fields[K] }
|
||||
}
|
||||
|
||||
export function MobXObservable<
|
||||
|
||||
Reference in New Issue
Block a user