Not really because you're not building a database or GUI app where using native elements & data structures help a lot with memory pressure.
TUI renderer is the one using the memory heavily so your terminal takes the heavy lifing. If you're managing the buffers and out-of-screen context good enough, Typescript can be pretty efficient.