const modifiers for type parameters are coming to TypeScript 5.0! The PR's not even merged yet - but you can already start playing with it.
Andarist's tweet: / 1602701606721814528
The PR: https://github.com/microsoft/TypeScri...
Become a TypeScript Wizard with Matt's TypeScript Course: https://www.totaltypescript.com/
Follow Matt on Twitter: / mattpocockuk