Actually it does not: if TypeScript says string, it does not mean string. It could be number, or something else. TypeScript tries to cover the most common scenarios, not all.
[flagged]
Actually it does not: if TypeScript says string, it does not mean string. It could be number, or something else. TypeScript tries to cover the most common scenarios, not all.
[flagged]