This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-23
Channels
- # announcements (3)
- # asami (5)
- # babashka (1)
- # beginners (38)
- # biff (4)
- # calva (12)
- # cider (2)
- # clj-commons (6)
- # clj-kondo (46)
- # clj-on-windows (1)
- # clojure (50)
- # clojure-europe (41)
- # clojure-nl (3)
- # clojure-norway (2)
- # clojure-uk (16)
- # clojured (3)
- # clojurescript (49)
- # conjure (1)
- # cursive (29)
- # datahike (6)
- # datascript (4)
- # emacs (70)
- # funcool (1)
- # google-cloud (12)
- # graalvm (10)
- # graalvm-mobile (7)
- # gratitude (4)
- # hyperfiddle (1)
- # joyride (26)
- # lsp (16)
- # malli (23)
- # nbb (5)
- # off-topic (23)
- # polylith (32)
- # re-frame (23)
- # releases (3)
- # remote-jobs (1)
- # reveal (3)
- # tools-build (16)
- # xtdb (50)
hey,
how can I access variables from an npm package that are declared in global
like this: https://github.com/JXA-userland/JXA/blob/master/packages/%40jxa/global-type/src/index.d.ts#L7
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

Subscribe to this issue for more updates on this: https://github.com/babashka/obb/issues/22
thank you 🙌