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
Is it possible we can add stateSelector to ORMOpts? Even if it is of any type, this will stop the compiler from complaining.
Currently, when we add stateSelector while initializing a new ORM object, below is what the compiler complains.
Argument of type '{ stateSelector: (state: any) => any; }' is not assignable to parameter of type 'ORMOpts'.
To produce this, create an ORM instance on a Typescript project with a stateSelector as below.
const orm = new ORM({
stateSelector: state => state.orm
});
The text was updated successfully, but these errors were encountered:
Is it possible we can add stateSelector to ORMOpts? Even if it is of any type, this will stop the compiler from complaining.
Currently, when we add stateSelector while initializing a new ORM object, below is what the compiler complains.
To produce this, create an ORM instance on a Typescript project with a stateSelector as below.
The text was updated successfully, but these errors were encountered: