0.1.2 #3

Merged
Thilawyn merged 136 commits from next into master 2024-03-11 19:44:21 +01:00
Showing only changes of commit e5e7d48b4c - Show all commits

View File

@@ -13,7 +13,10 @@ export const MobXObservableZodSchemaObject = trait
super(...args) super(...args)
makeObservable(this, makeObservable(this,
mapValues(ObservableZodSchemaObject.schema.shape, () => observable) mapValues(
(this.constructor as typeof ObservableZodSchemaObject).schema.shape,
() => observable,
)
) )
} }
}) })