Skip to content

Commit 91fbc51

Browse files
committed
Improve validateSchema comment
1 parent 35715ef commit 91fbc51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/json/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export type FromSchema<S extends Schema> = {
7979
};
8080

8181
/**
82-
* Validates `obj` against `schema`.
82+
* Validates that `obj` satisfies at least `schema`. Additional keys are accepted.
8383
*
8484
* @param schema The schema to validate against.
8585
* @param obj The object to validate.

0 commit comments

Comments
 (0)