-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CCI] Type improvement and optional callback on
empty
method (#451)
* refactor: addConnection Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * refactor: improve types Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: connection type tests Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * feat: addConnection test with only URL provided Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * refactor: optimization Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: use vars Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * refactor: make callback optional Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: string type Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: update changelog Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: update index.d.ts empty method args Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: user guide on empty method use Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: remove optional chaining Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * refactor: remove else block Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: make cb arg optional Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: remove jsdoc return type Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: update types and tests Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: update changelog Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * refactor: swap to expecttype Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * feat: connection empty tests Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: remove log from user guide Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: format and update toc Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * fix: remove passing connection instance to update Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: test for createConnection with a Connection instance Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: remove jsdoc return Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: update changelog Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * chore: revert changelog Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> * feat: added call empty twice test Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com> --------- Signed-off-by: Timur Bolotov <bolotovtmr@gmail.com>
- Loading branch information
1 parent
9d9dd05
commit 8374dd6
Showing
10 changed files
with
141 additions
and
26 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
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