hi, anyone know how to get functions in cljs like .getTime
or .preventDefault
to not be highlighted as cannot be resolved
?
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)
@mhuebert 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
yup, that’s it. sorry, I always miss these updates in Slack
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.
sweet! thanks 🙂