diff --git a/test-dts/ref.test-d.ts b/test-dts/ref.test-d.ts index 1ae7c355..d4f07253 100644 --- a/test-dts/ref.test-d.ts +++ b/test-dts/ref.test-d.ts @@ -19,6 +19,7 @@ function foo(arg: number | Ref) { foo: ref(1) }) expectType>(nestedRef) + expectType<{ foo: number }>(nestedRef.value) } foo(1)