Fixed MobXObservableZodSchemaObject
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -13,7 +13,10 @@ export const MobXObservableZodSchemaObject = trait
|
||||
super(...args)
|
||||
|
||||
makeObservable(this,
|
||||
mapValues(ObservableZodSchemaObject.schema.shape, () => observable)
|
||||
mapValues(
|
||||
(this.constructor as typeof ObservableZodSchemaObject).schema.shape,
|
||||
() => observable,
|
||||
)
|
||||
)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user