I couldn’t find any resource on writing Realm functions in TypeScript. So I decided to figure it out myself and document everything in this article. Hope it helps someone looking for a solution or at least inspiration. If you find a better approach, please let me know .
Would be nice if this was natively supported! Also would be interested to see support for other languages, like Go or Python.