-
Notifications
You must be signed in to change notification settings - Fork 57
Fixed #390 Spread operator does not assign super class methods #391
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
Conversation
Hi @rg911 , I'm sorry for the late review. I think the assign operation is a bit complicated and verbose
What I would do is hide that into a static helper method ( For example:
and change the callers like:
Benefits:
What do you think? |
…pescript-javascript into task/g390_max_fee
Fixed |
repositoryFactory.getGenerationHash().subscribe((gh) => { | ||
expect(counter).to.be.equals(1); | ||
expect(gh).to.be.equals('aaaa'); | ||
repositoryFactory.getGenerationHash().subscribe(gh => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @rg911 for the cleanup. Question, why the braces in arrow function's parameter when it is not necessary? Do you prefer that code style? Is it lint?
Fixed #390