We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
"a" as "b"
TypeScript Version: 2.8.0-dev.20180223
Search Terms: string literal type assertion
Code
Expected behavior:
Error: type "a" can not be converted to type "b".
Actual behavior:
No error.
Related Issues: #10195, which would make it so that no one would need to write "a" as "a".
"a" as "a"