Skip to content

Instantly share code, notes, and snippets.

@redradist
Created September 12, 2021 12:11
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/83dce98df9ca5cbc22ebab2d7b1ea31b to your computer and use it in GitHub Desktop.
Save redradist/83dce98df9ca5cbc22ebab2d7b1ea31b to your computer and use it in GitHub Desktop.
TypeScript string and number coericion
let y = 8;
...
//@ts-ignore
y += "233"; // Ok from TypeScript compiler point of view
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment