Welcome! Please see the About page for a little more info on how this works.
Type hinting clojure.spec.alpha/explain-str would help in instances like the following, (throw (IllegalArgumentException. (s/explain-str ::some-spec value)))
clojure.spec.alpha/explain-str
(throw (IllegalArgumentException. (s/explain-str ::some-spec value)))
I've added this in both spec 1 and 2 for whatever their next future releases are.