-
Notifications
You must be signed in to change notification settings - Fork 3k
style(typings): Use typeof to capture typings for all static Observab… #1036
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
style(typings): Use typeof to capture typings for all static Observab… #1036
Conversation
|
This pulls out the static methods as per the discussion in #870 |
|
As already discussed in original PR, I like this changes and this looks good to me. Thanks for taking time with effort @david-driscoll :) I'll check in this once @Blesh agrees. |
|
I've also gone and rebased the other branches to be based on this one, so the changes should disappear from those PRs once this is merged. |
|
Super cool! 👍 |
|
It's off-topic question, is this applicable to non-static instance also? |
|
Unfortunately no, because there is no way to consider the type of Consider: With this function we have no idea what And then we loose our type information. #870 works around this, copying the definitions from the operator, defined as a function, and strips out any references to The to: So then we can then use |
|
Make quite sense, thanks. Think this topic need to be continued under original PR. |
|
@david-driscoll Would you able to align commit message start with lowercase as same as other commit history? |
|
Otherwise, change looks cool to me. I'll let this opened for a while to have any other suggestions / opinions around after commit message's aligned. Expecting to take some time due to holiday. |
|
Merged with d4dd7f1. Thanks @david-driscoll! |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
…le methods