Strictly speaking, TypeScript is neither a frontend nor backend language but a superset of the already established and well-known programming language, JavaScript. Just like JS can be used for both front-end and back-end, TypeScript can also be employed for FE and BE coding — with one small distinction: neither browser nor back-end architecture runs TS directly.