Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
424
function
testUnrefGenerics<T>(p: T | Ref<T>) {
425
expectType<T>(unref(p))
426
}
427
428
testUnrefGenerics(1)
429
Callers
1
ref.test-d.ts
File · 0.85
Calls
1
unref
Function · 0.85
Tested by
no test coverage detected