String literal types by DanielRosenwasser · Pull Request #5185 · microsoft/TypeScript

String Literal Types This pull request adds reasonable support for string literal types as proposed in #1003. A string literal type can be described by a string literal type node, which is otherwis...