diff --git a/src/validators/oneof.ts b/src/validators/oneof.ts index 438a09ed..0c1634c6 100644 --- a/src/validators/oneof.ts +++ b/src/validators/oneof.ts @@ -7,7 +7,7 @@ export default function oneOf(arr: T) { '[VueTypes error]: You must provide an array as argument.', ) } - const msg = `oneOf - value should be one of "${arr.join('", "')}."` + const msg = `oneOf - value should be one of "${arr.join('", "')}".` const allowedTypes = arr.reduce((ret, v) => { if (v !== null && v !== undefined) { const constr = (v as any).constructor