Skip to content

Commit 13ee975

Browse files
committed
Improve types in sidebar/helpers/groups.js
1 parent bd1a84a commit 13ee975

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sidebar/helpers/groups.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ function isScopedToUri(group, uri) {
8484
return true;
8585
}
8686

87+
/**
88+
* @param {string} uri
89+
* @param {string[]} scopes
90+
*/
8791
function uriMatchesScopes(uri, scopes) {
8892
return (
8993
scopes.find(uriRegex =>

0 commit comments

Comments
 (0)