Created
September 12, 2021 12:07
-
-
Save redradist/1eb4aa4e6558a2896a91e3ff7e335913 to your computer and use it in GitHub Desktop.
TypeScript string number coericion error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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