4 ms·TypeScript can check and autocomplete valid values of strings too, but I agree with the other points.by felixfbecker 8y agoTypeScript can check and autocomplete valid values of strings too, but I agree with the other points.