Incorrect error message with String Literal Types #7530
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Help Wanted
You can do this
TypeScript Version:
1.8.5
Code
Expected behavior:
The second sentence of the error message I see under Visual Studio Code doesn't seem to make sense, does it?
Argument of type '"De eerste"' is not assignable to parameter or type '"La première" | "La primera" | "The first"'. Type '"De eerste"' is not assignable to type "The first"'
I wonder if I should not rather open this under VS Code.
Actual behavior:
Removing that second sentence?
The text was updated successfully, but these errors were encountered: