Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
For (2), there is a tool called tsickle which converts some TypeScript code with definitions into Google Closure compatible code. When I tried this a few years ago, it still had some rough edges and there was some differences between the version of GCC that tsickle output for and the version that CLJS used.
I created this library during lockdown (damn, 3 years ago now) that solves this exact problem: https://github.com/wavejumper/boonmee It basically wraps tsserver to grab type information - there's a few gifs/examples in the repo, as well as a demo Emacs mode.
So yea, it works, but the parsing of Clojure code is really crude/rudimentary. Using an incremental parser like Clojure mode (https://github.com/nextjournal/clojure-mode) would be the next steps I would take if I were to revive this project.