It's a good idea. Sadly, such a simple rule isn't present in TSLint and even ESLint. The closest thing I found is consistent-return from ESLint, but still, it's not exactly the right thing.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.