@@ -34,7 +34,7 @@ export function mapOk<T, U, E>(
3434
3535/**
3636 * Maps the error of a Result, while leaving a successful Result unchanged.
37- * You can provide a custom mapper, or use @link ` mapErrToError` or ` mapErrToString` .
37+ * You can provide a custom mapper, or use { @link mapErrToError} or { @link mapErrToString} .
3838 * @param result The Result to map.
3939 * @param fn The mapping function for the error.
4040 * @returns A new Result with the mapped error or the original value.
@@ -70,7 +70,7 @@ export function mapErr<T, E, F>(
7070//
7171
7272/**
73- * Maps an error to an Error object. To be used with @link ` mapErr` .
73+ * Maps an error to an Error object. To be used with { @link mapErr} .
7474 * If the error is already an Error, it returns it unchanged.
7575 * If the error is a string, it creates a new Error with that string.
7676 * If the error is an object, it converts it to a JSON string and creates a new Error.
@@ -103,7 +103,7 @@ export function mapErrToError<E>(error: E): Error {
103103}
104104
105105/**
106- * Maps an error to a string representation. To be used with @link ` mapErr` .
106+ * Maps an error to a string representation. To be used with { @link mapErr} .
107107 * @param error The error to map.
108108 * @returns A string representation of the error.
109109 * @example
0 commit comments