MCPcopy
hub / github.com/vuejs/core / testUnrefGenerics

Function testUnrefGenerics

packages-private/dts-test/ref.test-d.ts:424–426  ·  view source on GitHub ↗
(p: T | Ref<T>)

Source from the content-addressed store, hash-verified

422
423// #3954
424function testUnrefGenerics<T>(p: T | Ref<T>) {
425 expectType<T>(unref(p))
426}
427
428testUnrefGenerics(1)
429

Callers 1

ref.test-d.tsFile · 0.85

Calls 1

unrefFunction · 0.85

Tested by

no test coverage detected