-
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
Flow type casting alignment ? #6523
Comments
So does the Are you asking to support Flow's |
Personally, I hope so if possible for the reason I describe. |
What you are asking is hardly feasible. There is no reason to give 2 syntaxes for the same thing other than to confuse the users. Kind of late to the party. |
Would you elaborate on "javascript typing philosophy". Haven't heard of such. Fascinated to read about it. |
C# philosophy: string str; ((string)str) // typing before expression |
FYI, JavaScript doesn't have types to declare and associate with variables.
|
See discussion in #296 and my comment here #3203 (comment) in particular |
Hello,
Do you plan to implement type casting like in Flow ?
http://flowtype.org/blog/2015/02/18/Typecasts.html
It is related to a previous question :#6519
I think Flow implementation respects more javascript typing philosophy by putting type at the end of the expression.
Thanks in advance for your answers.
The text was updated successfully, but these errors were encountered: