-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make functions private so typescript won't complain about exporting public methods that use private types from React * Reimplement TimeTag class without BaseImmutable helper because it causes problems with babel. Because BaseImmutable is a dynamic expression, it adds fields on subclass but typescript don't pick that information. If we add those fields by hand in TimeTag declaration, babel will override values from BaseImmutable with undefineds * Reimplement RetryOptions class without BaseImmutable helper. * Reimplement ServerSettings class without BaseImmutable helper. * Reimplement Cluster class without BaseImmutable helper. * optionalEnsureOneOf helper for class property validation * Fix unit tests * Revert adding valueOf to Cluster for compatibility with base-immutable * Apply suggestions from code review Co-authored-by: Kasia Zadurska <katarzyna.zadurska@allegro.pl> Co-authored-by: Kasia Zadurska <katarzyna.zadurska@allegro.pl>
- Loading branch information
1 parent
25a5c91
commit 8190794
Showing
21 changed files
with
325 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.