-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
SnapController
constructor typing (#2023)
Improve SnapController constructor typing to improve compatibility with mobile. Most of the constructor arguments have sane defaults provided by the SnapController itself and are therefore allowed to be undefined. The feature flags are also allowed to be true, false and undefined. These issues weren't caught until now because the extension integration is not typed.
- Loading branch information
1 parent
f56ebf8
commit 57d8a53
Showing
2 changed files
with
15 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"branches": 90.07, | ||
"branches": 90.09, | ||
"functions": 96.35, | ||
"lines": 97.3, | ||
"lines": 97.31, | ||
"statements": 96.99 | ||
} |
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