Commit 11b0ba3
committed
docs(specTypeSchema): drop .parse() from isSpecType JSDoc
specTypeSchemas.X is typed as StandardSchemaV1, which only exposes
['~standard'].validate. The .parse() method exists at runtime (Zod) but
is not on the public type, so the parenthetical produced a TS error if
followed.1 parent 25268f7 commit 11b0ba3
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
| |||
0 commit comments