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
--strict
super()
--noImplicitReturns
namespace Color { export const None = undefined; export type None = undefined; export const Red: "red" = "red"; export type Red = typeof Red; export const Green: "green" = "green"; export type Green = typeof Green; export const Blue: "blue" = "blue"; export type Blue = typeof Blue; } type Color = Color.None | Color.Red | ...;
Questions & ideas
Idea
Should each enum member widen?
string
Reverse indexing?
Question:
Color.Red | Alert.Red
Out of time.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Check non-optional properties initialized in constructor (#8476)
--strict
flag makes it easier to surface these highly specific checks.super()
calls and virtual methods.--strict
.--strict
is what we believe to be the the set of ideal settings for writing new code.--noImplicitReturns
?String enums (#3192)
Questions & ideas
Idea
Should each enum member widen?
string
or to their base enum type?Reverse indexing?
Question:
Color.Red | Alert.Red
and they refer to the same literal type?Out of time.
The text was updated successfully, but these errors were encountered: