Kiril Okun
Sep 3, 2018 · 1 min read

Thank you for a great explanation. TBH Typescript official documentation tends to leave me more confused than anything. It’s more focused on describing all available options than how or why you’d use them, which your article above addresses brilliantly.

Another benefit of string enums over string literal types is they allow to refer to particular values with . notation (Enum.Key) rather than having to spell out the actual string value.

    Kiril Okun

    Written by