Skip to content

Commit 630f117

Browse files
committed
refactor(message): add strict input typing
1 parent da948fd commit 630f117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

@commitlint/message/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default message;
22

3-
function message(input: any[] = []) {
3+
function message(input: (string | null | undefined)[] = []) {
44
return input.filter(Boolean).join(' ');
55
}

0 commit comments

Comments
 (0)