From fa18e2ba775fa752362f86e3de66b886c7a705bd Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 18 Jul 2018 16:14:37 -0700 Subject: [PATCH] LightBox: tslint exception for play() call which returns promise --- ts/components/Lightbox.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index 2bf887111..e86815304 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -185,6 +185,7 @@ export class Lightbox extends React.Component { } if (this.videoRef.paused) { + // tslint:disable-next-line no-floating-promises this.videoRef.play(); } else { this.videoRef.pause();