Skip to content

Commit 09d913b

Browse files
authored
Update ref.test-d.ts
1 parent bf0cbde commit 09d913b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dts-test/ref.test-d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ if (refStatus.value === 'initial') {
202202
}
203203

204204
describe('shallowRef with generic', <T extends { name: string }>() => {
205-
const r = ref({}) as unknown as T
205+
const r = {} as T
206206
const s = shallowRef(r)
207207
expectType<string>(s.value.name)
208208
expectType<ShallowRef<T>>(shallowRef(r))

0 commit comments

Comments
 (0)