Is writing your unit tests in TypeScript a good idea?

TypeScript (TS) is a programming language that adds type safety to JavaScript (JS). It is basically JavaScript + types, e.g.