-
Notifications
You must be signed in to change notification settings - Fork 327
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
@type support is a hack #91
Comments
I've files an issue with Typescript a while back microsoft/TypeScript#13498. I'd much prefer a fix in the compiler. |
Yes, it was meant as a temporary hack to keep backwards compatibility. In fact I'm worried about conflicts by using |
I'd be fine with that. It is important to be able to say that a number is actually an integer or a string is a special type such as color but everything beyond this can break many things. Okay, how about we drop support for |
Ok, I rolled back the commit. |
Thanks! I'll add something to the readme. can you look into #90? |
@otgerrogla I've added notes to the readme. In the future, let's not include the built js and js.map in the the repo until we actually make a new release. |
Thanks for the readme. I was not aware of TJS-type annotation. |
@nidi3 You're welcome. We haven't been very good about documenting all the features until now but I hope things are clearer now. |
I don't like this patch. It works around the compiler with a hack. I prefer if we roll this back and ask people to use
@TJS-type
instead.Comments @otgerrogla?
The text was updated successfully, but these errors were encountered: