Skip to content

Commit 80e00fc

Browse files
committed
Fix linting
1 parent 107028b commit 80e00fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/validation/drivers/validators/isExactly.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { ValidationError } from "../../../errors"
22

3-
export const isExactly = <O>(values: Array<O>) => (
4-
i: unknown
5-
): O => {
3+
export const isExactly = <O>(values: Array<O>) => (i: unknown): O => {
64
for (let value of values) {
75
if (value === i) {
86
return value

0 commit comments

Comments
 (0)