This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-13
Channels
- # announcements (5)
- # babashka (23)
- # beginners (3)
- # business (6)
- # clj-kondo (40)
- # clojure (81)
- # clojure-berlin (1)
- # clojure-france (12)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojurescript (4)
- # cursive (7)
- # data-science (1)
- # datascript (1)
- # emacs (9)
- # events (1)
- # fulcro (37)
- # malli (3)
- # meander (5)
- # membrane (2)
- # nrepl (1)
- # parinfer (1)
- # pathom (9)
- # re-frame (31)
- # reitit (10)
- # sci (2)
- # shadow-cljs (3)
- # sql (3)
- # tools-deps (16)
- # uncomplicate (4)
- # vrac (1)
hi, anyone know how to get functions in cljs like .getTime
or .preventDefault
to not be highlighted as cannot be resolved
?
There’s no good solution to that right now, but I’m planning to fix that shortly as part of changes I’m making at the moment.
3
sweet! thanks 🙂
minor addition to the request, if you’re working on this anyway - ^js
type hints are now common in ClojureScript and would be great if they do not show up as unresolved (even though they do not really resolve to anything)
@U050RLRRQ Do you mean ^number
, ^boolean
and the rest?
Ah, no, I see Shadow has some doc about this: https://shadow-cljs.github.io/docs/UsersGuide.html#infer-externs