Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/validators/oneof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function oneOf<T extends readonly any[]>(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
Expand Down