From a98798fad65635067f65cdb7061df78b0201835a Mon Sep 17 00:00:00 2001 From: Alexander T Date: Tue, 27 Aug 2019 09:32:36 +0300 Subject: [PATCH] fix eslint errors --- src/services/classifier.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/classifier.ts b/src/services/classifier.ts index 5d9b4924bed..9e19755bc36 100644 --- a/src/services/classifier.ts +++ b/src/services/classifier.ts @@ -775,6 +775,7 @@ namespace ts { // defined in `ts.commentPragmas` would be excessive, but we can avoid // some obvious false positives (e.g. in XML-like doc comments) by // checking the element name. + // eslint-disable-next-line no-in-operator if (!match[3] || !(match[3] in commentPragmas)) { return false; }