Skip to content

Commit 803cf1f

Browse files
committed
docs(validate): fix invalid documentation
1 parent c6b682c commit 803cf1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export const isDateTimeValid = isValid;
256256
/** Asserts that the specified {@link DateTime} object represents a valid date
257257
* and time.
258258
*
259-
* {@DateTime}s returned by functions in this library are always valid.
259+
* {@link DateTime}s returned by functions in this library are always valid.
260260
*
261261
* @throws {Error} if any of the `year`, `month`, `day`, `hours`, or `minutes`
262262
* fields are non-integers or outside the valid range, or if the `seconds`
@@ -270,7 +270,7 @@ export function validate(dateTime: DateTimeOptions): void {
270270
/** Asserts that the specified {@link DateTime} object represents a valid date
271271
* and time.
272272
*
273-
* {@DateTime}s returned by functions in this library are always valid.
273+
* {@link DateTime}s returned by functions in this library are always valid.
274274
*
275275
* Alias of {@link validate}, useful for disambiguation from similar functions
276276
* that operate on other types.

0 commit comments

Comments
 (0)