blog.mariusschulz.com
TypeScript 2.1: Improved Inference for Literal Types
1
TypeScript 2.1 improves inference for literal types. Constant variables and read-only properties with literal initializers are now inferred to be of a literal type. Read full article