From e582f4a1e65b550fd09cb205e2b44d2a8592d010 Mon Sep 17 00:00:00 2001 From: Yorksh1re <70258597+Yorksh1re@users.noreply.github.com> Date: Sun, 24 Apr 2022 10:27:58 +0800 Subject: [PATCH] fix: replace deprecated link --- src/api/reactivity-utilities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/reactivity-utilities.md b/src/api/reactivity-utilities.md index c38c53d838..d2f4a31137 100644 --- a/src/api/reactivity-utilities.md +++ b/src/api/reactivity-utilities.md @@ -10,7 +10,7 @@ Checks if a value is a ref object. function isRef(r: Ref | unknown): r is Ref ``` - Note the return type is a [type predicate](https://www.typescriptlang.org/docs/handbook/advanced-types.html#user-defined-type-guards), which means `isRef` can be used as a type guard: + Note the return type is a [type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates), which means `isRef` can be used as a type guard: ```ts let foo: unknown