binaryage / cljs-oops

ClojureScript macros for convenient native Javascript object access.
Other
351 stars 13 forks source link

Use of undeclared Var cljs.core/js-fn? #32

Closed hahahahaman closed 1 year ago

hahahahaman commented 1 year ago

Hello,

I'm getting this issue when compiling my clojurescript code with shadow-cljs 2.20.17:

------ WARNING #1 - :undeclared-var --------------------------------------------
 Resource: oops/core.cljs:52:3
 Use of undeclared Var cljs.core/js-fn?
--------------------------------------------------------------------------------

I have tried to import the js-fn? macro using:

(ns my.project
  (:require-macros [cljs.core]))

but I still get the error.

hahahahaman commented 1 year ago

This seems to be related to my shadow-cljs setup not the library.