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
This should cause an error, since the type of owner is AsyncBelongsTo<User> not a bare User. However, it seems that it is being typed as any and thus allowed.
If I try to call the component with another property called fail I get this error:
Argument of type '{ model: any; fail: boolean; }' is not assignable to parameter of type 'AppCollaboratorArguments'.
As you can see, it says the type of model is any.
The text was updated successfully, but these errors were encountered:
This should cause an error, since the type of
owner
isAsyncBelongsTo<User>
not a bareUser
. However, it seems that it is being typed asany
and thus allowed.If I try to call the component with another property called fail I get this error:
As you can see, it says the type of
model
isany
.The text was updated successfully, but these errors were encountered: