presumably the "programming language(s)" part of the stack never changes between front and back end (it's typescript)?
Writing typescript code that compiles to javascript code that runs on a platform like node.js, and writing typescript code that compiles to javascript that run in a web browser.