From 09d913b803d3f2b2c1a2201f4f31fa975d8372ea Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 16 Dec 2023 13:39:22 +0800 Subject: [PATCH] Update ref.test-d.ts --- packages/dts-test/ref.test-d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dts-test/ref.test-d.ts b/packages/dts-test/ref.test-d.ts index f73f7632af6..f66ff926907 100644 --- a/packages/dts-test/ref.test-d.ts +++ b/packages/dts-test/ref.test-d.ts @@ -202,7 +202,7 @@ if (refStatus.value === 'initial') { } describe('shallowRef with generic', () => { - const r = ref({}) as unknown as T + const r = {} as T const s = shallowRef(r) expectType(s.value.name) expectType>(shallowRef(r))