(check)
| 30146 | }); |
| 30147 | } |
| 30148 | _addCheck(check) { |
| 30149 | return new _ZodString({ |
| 30150 | ...this._def, |
| 30151 | checks: [...this._def.checks, check] |
| 30152 | }); |
| 30153 | } |
| 30154 | email(message) { |
| 30155 | return this._addCheck({ kind: "email", ...errorUtil_1.errorUtil.errToObj(message) }); |
| 30156 | } |