Skip to content

Commit 8ee3359

Browse files
authored
Merge pull request #76 from FAKER-A/master
fix: oneof warning message
2 parents 61080a5 + 353df5a commit 8ee3359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validators/oneof.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function oneOf<T extends readonly any[]>(arr: T) {
77
'[VueTypes error]: You must provide an array as argument.',
88
)
99
}
10-
const msg = `oneOf - value should be one of "${arr.join('", "')}."`
10+
const msg = `oneOf - value should be one of "${arr.join('", "')}".`
1111
const allowedTypes = arr.reduce((ret, v) => {
1212
if (v !== null && v !== undefined) {
1313
const constr = (v as any).constructor

0 commit comments

Comments
 (0)