Skip to content

Instantly share code, notes, and snippets.

@redradist
Created September 12, 2021 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save redradist/1eb4aa4e6558a2896a91e3ff7e335913 to your computer and use it in GitHub Desktop.
Save redradist/1eb4aa4e6558a2896a91e3ff7e335913 to your computer and use it in GitHub Desktop.
TypeScript string number coericion error
let y = 8;
...
y += "233"; // Compilation error in TypeScript
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment