From a815e156c0422799a88f75e4b237a444c4c707e0 Mon Sep 17 00:00:00 2001 From: Jun Shindo <46585162+jay-es@users.noreply.github.com> Date: Mon, 30 Sep 2024 21:19:36 +0900 Subject: [PATCH] docs(api): format WatchSource type --- src/api/reactivity-core.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/reactivity-core.md b/src/api/reactivity-core.md index bc3cb764c..88edc2a35 100644 --- a/src/api/reactivity-core.md +++ b/src/api/reactivity-core.md @@ -384,9 +384,7 @@ type WatchSource = | Ref // ref | (() => T) // ゲッター - | T extends object - ? T - : never // リアクティブなオブジェクト + | (T extends object ? T : never) // リアクティブなオブジェクト interface WatchOptions extends WatchEffectOptions { immediate?: boolean // 初期値: false