Consider making "a" as "b"
a compile error
#22150
Labels
Duplicate
An existing issue was already created
"a" as "b"
a compile error
#22150
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"
.The text was updated successfully, but these errors were encountered: