You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: as/readonly.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import {
10
10
/**
11
11
* Annotate the given predicate function as readonly.
12
12
*
13
-
* Use this function to annotate a predicate function of `predObj` in {@linkcodehttps://jsr.io/@core/unknownutil/doc/is/object-of/~/isObjectOf|isObjectOf}.
13
+
* Use this function to annotate a predicate function of `predObj` in {@linkcode[is/object-of].isObjectOf}.
14
14
*
15
15
* Use {@linkcode asUnreadonly} to remove the annotation.
16
16
* Use {@linkcode hasReadonly} to check if a predicate function has annotated with this function.
@@ -45,7 +45,7 @@ export function asReadonly<P extends Predicate<unknown>>(
45
45
/**
46
46
* Unannotate the annotated predicate function with {@linkcode asReadonly}.
47
47
*
48
-
* Use this function to unannotate a predicate function of `predObj` in {@linkcode [jsr:@core/unknownutil/is/object-of].isObjectOf}.
48
+
* Use this function to unannotate a predicate function of `predObj` in {@linkcode [../is/object-of].isObjectOf}.
49
49
*
50
50
* To enhance performance, users are advised to cache the return value of this function and mitigate the creation cost.
0 commit comments