We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21111a4 commit 5fdfe01Copy full SHA for 5fdfe01
src/core/Validator.ts
@@ -24,7 +24,7 @@ class Validator {
24
return is(Object.keys(this.errors), fields)
25
}
26
27
- first(field: string | string[]): string | Record<string, any> | undefined {
+ first(field: string | string[]): string | undefined {
28
if (Array.isArray(field)) {
29
const fields = this.fields(field)
30
let fd = ''
0 commit comments