diff --git a/test-dts/ref.test-d.ts b/test-dts/ref.test-d.ts index f9b72312b..5d73a38df 100644 --- a/test-dts/ref.test-d.ts +++ b/test-dts/ref.test-d.ts @@ -1,5 +1,5 @@ import { expectType } from 'tsd' -import { Ref, ref, isRef, unref, UnwrapRef } from './index' +import { Ref, ref, isRef, unref } from './index' function plainType(arg: number | Ref) { // ref coercing @@ -29,7 +29,9 @@ function plainType(arg: number | Ref) { } // with symbol - expectType(unref(ref(null))) + expectType>( + ref() + ) } plainType(1)