Got Org Babel playing nice with TypeScript thanks to ob-typescript. It’s a wild Saturday morning here.

Screenshot of an Emacs Org file showing output of executed typescript block

Takes a bit to get there on WSL but the code does run.

That required a few more lines in my config, but not too many.

(use-package ob-typescript)
(use-package org
  ;; ...
  :config
  (org-babel-do-load-languages
    'org-babel-load-languages
    '((typescript . t))))

I also followed my own advice and added Tide for TypeScript support in Emacs. Just copied and pasted from all the links, so config’s a bit of a mess.

Oh hey that’s right I still need to take my ADHD meds. I’ll go do that now.