You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, one of the issues I hit was from a type test in colors: https://github.com/Marak/colors.js/blob/master/lib/extendStringPrototype.js#L79
When I send a String, the code throws. I suppose the issue is in combination with some other setting special to testing, but there isn't really any advantage to String.
The text was updated successfully, but these errors were encountered:
In working on a PR #130 I hit mysterious problems on a couple of occasions that I eventually traced back to String vs string.
Which of these one uses almost never matters. Except when it does, then 'string' will win.
http://stackoverflow.com/questions/14727044/typescript-difference-between-string-and-string
For example, one of the issues I hit was from a type test in colors:
https://github.com/Marak/colors.js/blob/master/lib/extendStringPrototype.js#L79
When I send a String, the code throws. I suppose the issue is in combination with some other setting special to testing, but there isn't really any advantage to String.
The text was updated successfully, but these errors were encountered: