UNPKG
ht_hooks
Version:
latest (0.1.1)
0.1.1
0.1.0
ht React 业务 Hooks
github.com/MengToong/ht_hooks
MengToong/ht_hooks
ht_hooks
/
lib
/
utils
/
getDocumentOrShadow.d.ts
4 lines
(3 loc)
•
184 B
TypeScript
View Raw
1
2
3
4
import
type
{
BasicTarget
}
from
'../utils/domTarget'
;
declare
const
getDocumentOrShadow
:
(
target
:
BasicTarget
|
BasicTarget
[]
) =>
Document
|
Node
;
export
default
getDocumentOrShadow;