Fork me on GitHub
#shadow-cljs
<
2020-12-25
>
codonnell21:12:37

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.