From 5f997c8ca11d7c578ef30b15a4e05d9145f96fac Mon Sep 17 00:00:00 2001 From: Michael Beckemeyer Date: Thu, 22 Aug 2024 14:30:19 +0200 Subject: [PATCH] Add missing group --- packages/reactivity-core/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/reactivity-core/types.ts b/packages/reactivity-core/types.ts index c8dd8e8..fe753c9 100644 --- a/packages/reactivity-core/types.ts +++ b/packages/reactivity-core/types.ts @@ -152,6 +152,8 @@ export type WatchCallback = (value: T, oldValue: T) => void | CleanupFunc; /** * Like {@link WatchCallback}, but the `oldValue` parameter may be `undefined` for the first invocation. * This is the case when `immediate: true` has been passed to the watch function, in which case there cannot be a previous value. + * + * @group Watching */ export type WatchImmediateCallback = (value: T, oldValue: T | undefined) => void | CleanupFunc;