Published onApril 2, 2022Prefer precise string typesprogrammingtypescriptWhen you declare a variable of type string, you should ask whether a narrower type would appropiate