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
var x: 0|42|88;
function onEvent(name: "click|drag|move")): void;
'foo'
"foo"|"bar" === "baz"|"thing"
var x: "foo"|"bar"; if(x === "foo") { ... }
from "foo.js"
from "foo"
The text was updated successfully, but these errors were encountered:
For string literals (unleashed upon the world), would definitely like autocomplete and (rename refactoring does it make sense?)
type Foo = "aReallyLong" | "bReallyLong"; // allow me to rename these let foo:Foo; foo = "aReallyLong"; // allow me to autocomplete these
Sorry, something went wrong.
@basarat would you mind filing a separate issue for this?
created two issues / feature requests 🌹
No branches or pull requests
String literal types (#5185, #5156, #1003)
var x: 0|42|88;
is a use casefunction onEvent(name: "click|drag|move")): void;
)'foo'
==='foo'
?"foo"|"bar" === "baz"|"thing"
Comparable relation (#5300)
var x: "foo"|"bar"; if(x === "foo") { ... }
Module file extensions
from "foo.js"
instead offrom "foo"
; system.js has implemented this behaviorThe text was updated successfully, but these errors were encountered: