-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
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
Suggestion Backlog Slog, 4/3/2017 #14990
Labels
Design Notes
Notes from our design meetings
Comments
enum Foo {
Red = "Red is my Favorite Color",
Green = "Green is my Favorite color",
Blue = "Blue!"
}
namespace Foo {
export const Red: "Red" = "Robin";
export type Red = typeof Red;
export const Blue: "Blue" = "Bluebird";
export type Blue = typeof Blue;
}
// "Robin" | "Bluebird"
type Foo = Foo.Red | Foo.Blue;
Out of time
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
"Do crazy stuff while Mohamed is out" edition 👶
::
string
enum
sprotected
ininterface
sstring | null
toundefined
unknown
: less-permissive alternative toany
#10715unknown
alternative toany
T & {}
should just beT
, at least intypeToString
super.get/set
>
operator and friends on union typesThe text was updated successfully, but these errors were encountered: