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
If you find validator not getting type inference or member completion isn’t working, annotating the argument with the expected type may help address these problems.
196
+
::: warning
197
+
Because of a [design limitation](https://github.com/microsoft/TypeScript/issues/38845) in TypeScript when it comes
198
+
to type inference of function expressions, you have to be careful with `validators` and `default` values for objects and arrays:
0 commit comments