+0
-3
@@ -286,5 +286,2 @@ // src/messages.ts | ||
| const schema = this.value[key]; | ||
| if (!(key in this.value)) { | ||
| continue; | ||
| } | ||
| const error = schema.validate(currentValue[key], { | ||
@@ -291,0 +288,0 @@ path: path === "" ? key : `${path}.${key}` |
@@ -14,3 +14,3 @@ import { Schema, type Infer } from '../schema/schema.ts'; | ||
| constructor(config: ConfigValue<TValue>); | ||
| notStrict(): ObjectDesy<TValue, Partial<this["types"]>>; | ||
| notStrict(): this; | ||
| optionalFields<TValueLocal extends keyof TValueTypes & string = any>(optionalFields: TValueLocal[]): ObjectDesy<TValue, PartialBy<this["types"], TValueLocal>>; | ||
@@ -17,0 +17,0 @@ } |
+1
-1
| { | ||
| "name": "desy", | ||
| "version": "0.0.18", | ||
| "version": "0.0.19", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types/desy.d.ts", |
34053
-0.34%907
-0.33%