We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section 3.8.1 should be augmented to say that a string literal type should have as its apparent type the interface String.
This is to enable things like:
declare function f(x: "str"); declare function f(x: String);
The new compiler is already doing this. We just need to change the spec and add a test for it.
The text was updated successfully, but these errors were encountered:
ahejlsberg
No branches or pull requests
Section 3.8.1 should be augmented to say that a string literal type should have as its apparent type the interface String.
This is to enable things like:
The new compiler is already doing this. We just need to change the spec and add a test for it.
The text was updated successfully, but these errors were encountered: