Skip to content

Commit db32ed5

Browse files
committed
JSDoc fix
1 parent 348d3a2 commit db32ed5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/src/util/standardSchema.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ export namespace StandardSchemaWithJSON {
117117
/**
118118
* Narrowing of {@linkcode StandardSchemaV1} whose `validate` is guaranteed synchronous.
119119
*
120-
* Zod schemas always validate synchronously, so every entry in `specTypeSchemas` satisfies
121-
* this interface. Consumers can call `validate()` and access `.issues` / `.value` on the
122-
* result without `await`.
120+
* The Zod schemas backing `specTypeSchemas` contain no async refinements or transforms,
121+
* so every entry satisfies this interface. Consumers can call `validate()` and access
122+
* `.issues` / `.value` on the result without `await`.
123123
*
124124
* `StandardSchemaV1Sync` is assignable to `StandardSchemaV1` — it is a strict subtype.
125125
*/

0 commit comments

Comments
 (0)