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
// A *self-contained* demonstration of the problem follows...TestSchema.static('pages',function(this: IModelTest,query: mongoose.Query<IModelTest>){returnthis.paginate(query);});
Expected behavior:
noUnusedLocals should ignore this typing, when noImplicitThis is enabled
Actual behavior:
this: IModelTest is showing as an unused variable, making it impossible to use both options at the same time