Skip to content

Commit 89251c4

Browse files
Meta: Add explicit return types on all functions (#1943)
Co-authored-by: Federico Brigante <github@bfred.it>
1 parent 6c7dd8a commit 89251c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function urlMatcherMacro(
77
detectFn: (url: string) => boolean,
88
shouldMatch: string[] = [],
99
shouldNotMatch: string[] = []
10-
) {
10+
): void {
1111
for (const url of shouldMatch) {
1212
location.href = url;
1313
t.true(detectFn(url));

0 commit comments

Comments
 (0)