Skip to content

Commit 0bad9b9

Browse files
committed
fix: more doc comments causing malformed tables
1 parent 51388bd commit 0bad9b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/common/src/Type.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export interface Type<
253253
*
254254
* - When you need to convert a validation result to a nullable value
255255
* - When the error is not important and you just want the value or nothing
256-
* - APIs that expect `T | null`
256+
* - APIs that expect `T` or `null`
257257
*
258258
* ### Example
259259
*
@@ -370,7 +370,7 @@ export interface Type<
370370
readonly ParentError: ParentError;
371371

372372
/**
373-
* Error | ParentError
373+
* Error / ParentError
374374
*
375375
* ### Example
376376
*
@@ -461,7 +461,7 @@ export type InferParentError<A extends AnyType> =
461461
: never;
462462

463463
/**
464-
* Extracts all error types (Error | ParentError) from a {@link Type}.
464+
* Extracts all error types (Error / ParentError) from a {@link Type}.
465465
*
466466
* @category Utilities
467467
*/

0 commit comments

Comments
 (0)