mariusschulz.com
Const Assertions in Literal Expressions in TypeScript
1
With TypeScript 3.4, const assertions were added to the language. A const assertion is a special kind of type assertion in which the const keyword is used instead of a type name. Read full article