UNPKG
@extscreen/es3-utils
Version:
latest (0.0.2)
0.0.2
0.0.1
Vue-Next binding for ES native framework
extscreen.com
@extscreen/es3-utils
/
dist
/
src
/
vue
/
refs.d.ts
4 lines
(3 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
import
type
{
ComponentPublicInstance
,
Ref
}
from
'vue'
;
export
type
RefSetter
=
(
el
:
Element
|
ComponentPublicInstance
|
undefined
) =>
void
;
export
declare
const
composeRefs
:
(
...
refs
: (Ref<HTMLElement |
undefined
> | RefSetter)[]
) =>
(
el
:
Element
|
ComponentPublicInstance
|
null
) =>
void
;