I am researching code conventions in TypeScript and C# and we have figured a rule to use string.Empty instead of "" in C#.
C# example:
doAction("");
doAction(string.Empty); // we chose to use this as a convention.
TypeScript:
// only way to do it that I know of.
doAction("");
Now is my question is there a way to keep this rule consistent in TypeScript as well or is this language specific?
Do any of you have pointers how to define an empty string in TypeScript?