We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4e0d9c commit 367e2fbCopy full SHA for 367e2fb
1 file changed
src/main/clojure/cljs/closure.clj
@@ -1908,7 +1908,10 @@
1908
(= optimizations :advanced)
1909
(cond->
1910
(not (false? (:static-fns opts))) (assoc :static-fns true)
1911
- (not (false? (:optimize-constants opts))) (assoc :optimize-constants true)))))
+ (not (false? (:optimize-constants opts))) (assoc :optimize-constants true))
1912
+
1913
+ (nil? (find (:closure-warnings opts) :check-types))
1914
+ (assoc-in [:closure-warnings :check-types] :off))))
1915
1916
(defn process-js-modules
1917
"Given the current compiler options, converts JavaScript modules to Google
0 commit comments