Search code examples
typescripttypescript-typingstypescript2.0

TypeScript character type?


My question is very brief. I am new to TypeScript, been searching around here and there but didn't find yet an answer.

Does any experienced TypeScripter know if there is a character Type or an easy way to achieve one?


Solution

  • TypeScript does not have a type for representing fixed-length strings.