mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
chore(eslint): add strict-boolean-expressions rule (#25768)
This commit is contained in:
@ -577,7 +577,7 @@ export class Refresher implements ComponentInterface {
|
||||
// best to do any DOM read/writes only when absolutely necessary
|
||||
// if multi-touch then get out immediately
|
||||
const ev = detail.event as TouchEvent;
|
||||
if (ev.touches && ev.touches.length > 1) {
|
||||
if (ev.touches !== undefined && ev.touches.length > 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user