Fork me on GitHub
Péter Szalai17:05:14

hey, how can I access variables from an npm package that are declared in global like this: what I tried so far:

(ns list-all-running-app 
  (:require ["@jxa/global-type"]))

(js/Application "System Events")
(Application "System Events")


@szalaipeti.vagyok I think that global-type package only defines some typescript data for IDEs to use, it's not really defining any global variables in the environment afaik

gratitude-thank-you 1

Hopefully in a couple of months we'll have an nREPL implementation for #obb


Subscribe to this issue for more updates on this:

Péter Szalai18:05:36

thank you 🙌