You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with mobx@4.2.0. It has invalid flow type annotation for configure options. Here is reproduction.
The problem is that interface properties in Flow are invariant, so enforceActions?: boolean | "strict" doesn't work, we need to make this property covariant (+enforceActions?: boolean | "strict"). Here is a correct implementation example.
I have an issue with mobx@4.2.0. It has invalid flow type annotation for
configure
options. Here is reproduction.The problem is that interface properties in Flow are invariant, so
enforceActions?: boolean | "strict"
doesn't work, we need to make this property covariant (+enforceActions?: boolean | "strict"
). Here is a correct implementation example.PR with a fix: #1521
The text was updated successfully, but these errors were encountered: