From 46fc1c2a1b3a7346a01ff4c80c0df8bd656dbfb6 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Wed, 3 Feb 2016 16:25:11 +0100 Subject: [PATCH] Prevent unnecessary casts --- config/ol.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/ol.json b/config/ol.json index 1720249833..f0970cdb16 100644 --- a/config/ol.json +++ b/config/ol.json @@ -24,9 +24,14 @@ ], "jscomp_off": [ "useOfGoogBase", - "unnecessaryCasts", "lintChecks" ], + "hide_warnings_for": [ + "node_modules/closure-util" + ], + "jscomp_warning": [ + "unnecessaryCasts" + ], "extra_annotation_name": [ "api", "observable" ],