diff --git a/src/reactivity/ref.ts b/src/reactivity/ref.ts index 4da6a55..c035b44 100644 --- a/src/reactivity/ref.ts +++ b/src/reactivity/ref.ts @@ -34,7 +34,7 @@ type WeakCollections = WeakMap | WeakSet // corner case when use narrows type // Ex. type RelativePath = string & { __brand: unknown } // RelativePath extends object -> true -type BaseTypes = string | number | boolean | Node | Window +type BaseTypes = string | number | boolean | Node | Window | Date export type ShallowUnwrapRef = { [K in keyof T]: T[K] extends Ref ? V : T[K]