Template literal throws errors in some scenarios but not others
As part of a code review a colleague recommended using a type rather than an enum. Whilst making the changes we found an issue neither of us expected. We’d expect scenario one and two to throw compiler and/or intellisense errors as one of the values does not exist on the type. However, after testing we… Read More Template literal throws errors in some scenarios but not others