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
TypeScript (2.0.3 btw) complains that Generic type 'Instance<TAttributes>' requires 1 type argument(s). Replacing it with Sequelize.Instance<UserAttributes> seems to work.
Further, RoleId isn't described in the documentation; what is that value from? I supplied the type keyword for what that field is in my RoleAttributes interface and it seems to have worked.
Apologies if this is all working as it should and I'm just missing something obvious!
The text was updated successfully, but these errors were encountered:
I tried using this syntax earlier today from here and it wasn't working:
TypeScript (2.0.3 btw) complains that
Generic type 'Instance<TAttributes>' requires 1 type argument(s).
Replacing it withSequelize.Instance<UserAttributes>
seems to work.Further,
RoleId
isn't described in the documentation; what is that value from? I supplied the type keyword for what that field is in my RoleAttributes interface and it seems to have worked.Apologies if this is all working as it should and I'm just missing something obvious!
The text was updated successfully, but these errors were encountered: