shadow-cljs

https://github.com/thheller/shadow-cljs | https://github.com/sponsors/thheller | https://www.patreon.com/thheller
2020-12-25T21:26:37.125200Z

Anyone have an idea why I'm getting this warning?

Warning :infer-warning in rocks/mygiftlist/http_remote.cljs at 106:8

Cannot infer target type in expression (. inst_93897 (setResponseType inst_93951))

 103 |      (fn transmit! [{:keys [active-requests]}
 104 |                     {::txn/keys [ast result-handler update-handler]
 105 |                      :as        send-node}]
 106 |        (go (let [edn              (eql/ast->query ast)
 107 |                  ok-handler       (fn [result]
 108 |                                     (try
 109 |                                       (result-handler result)
 110 |                                       (catch :default e
Full source is at https://github.com/codonnell/mygiftlist-blog/blob/dokku-deploy/src/cljs/rocks/mygiftlist/http_remote.cljs The error message seems to reference https://github.com/codonnell/mygiftlist-blog/blob/dokku-deploy/src/cljs/rocks/mygiftlist/http_remote.cljs#L150, which is already hinted.