Skip to content

Commit b790073

Browse files
committed
cljs.analyzer.api/enabled-warnings
1 parent 7ca0551 commit b790073

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/clojure/cljs/analyzer/api.cljc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
[warn-type warn-info]
7878
(ana/error-message warn-type warn-info))
7979

80+
(defn enabled-warnings
81+
"Get the enabled warning types."
82+
[]
83+
ana/*cljs-warnings*)
84+
8085
(defn get-options
8186
"Return the compiler options from compiler state."
8287
([] (get-options (current-state)))

0 commit comments

Comments
 (0)