Skip to content

Commit c3448c4

Browse files
committed
update assertValidPattern param type to unknown from any
1 parent 0bf499a commit c3448c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/assert-valid-pattern.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const MAX_PATTERN_LENGTH = 1024 * 64
2-
export const assertValidPattern: (pattern: any) => void = (
2+
export const assertValidPattern: (pattern: unknown) => void = (
33
pattern: unknown,
44
): asserts pattern is string => {
55
if (typeof pattern !== 'string') {

0 commit comments

Comments
 (0)