We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
validateSchema
1 parent 35715ef commit 91fbc51Copy full SHA for 91fbc51
1 file changed
src/json/index.ts
@@ -79,7 +79,7 @@ export type FromSchema<S extends Schema> = {
79
};
80
81
/**
82
- * Validates `obj` against `schema`.
+ * Validates that `obj` satisfies at least `schema`. Additional keys are accepted.
83
*
84
* @param schema The schema to validate against.
85
* @param obj The object to validate.
0 commit comments