From acfcc55aac020dc82d31226264d4d35e2e5b12ef Mon Sep 17 00:00:00 2001 From: Carlos Rodrigues Date: Wed, 15 Apr 2020 17:15:13 +0100 Subject: [PATCH] types(ref): fix dts test for ref (#965) --- test-dts/ref.test-d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)