+1
-1
@@ -136,3 +136,3 @@ // src/messages.ts | ||
| } | ||
| optional() { | ||
| allowEmpty() { | ||
| this.context.allowNull = true; | ||
@@ -139,0 +139,0 @@ this.context.allowUndefined = true; |
@@ -12,3 +12,3 @@ import { DefaultMessageProps } from '../messages.ts'; | ||
| constructor(config: Config); | ||
| optional(): Schema<TValue | null | undefined>; | ||
| allowEmpty(): Schema<TValue | null | undefined>; | ||
| length(length: number): this; | ||
@@ -15,0 +15,0 @@ min(minLength: number): this; |
+1
-1
| { | ||
| "name": "desy", | ||
| "version": "0.0.16", | ||
| "version": "0.0.17", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types/desy.d.ts", |
33828
0.01%