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.dataValues causes squiggly lines in instance methods since there's no definition for it ("TS2339: Property 'dataValues' does not exist on type 'User'.") - perhaps it's missing?
For example:
import * as _ from 'lodash';
class User extends Model {
public id: string;
[...]
public toJSON() {
return _.omit(this.dataValues, ['passwordHash']);
}
}
The text was updated successfully, but these errors were encountered:
this.dataValues
causes squiggly lines in instance methods since there's no definition for it ("TS2339: Property 'dataValues' does not exist on type 'User'.") - perhaps it's missing?For example:
The text was updated successfully, but these errors were encountered: