I know it's an oft-repeated gripe here, but Javascript has so many bizarre warts that I'd never trust it to configure my personal computing environment.
I would take elisp over TypeScript any day. The tooling around TypeScript is hot garbage, debugging async code is a huge time waster, and things that are trivial with dynamic binding turn into major undertakings because of the module system. Also the verbosity and reams of boilerplate.
https://www.destroyallsoftware.com/talks/wat